Inactive leagues re-enabled in team selections.

This commit is contained in:
gyboth 2009-01-04 09:09:05 +00:00
parent e3f2897bc4
commit 0f0f75f000
1 changed files with 12 additions and 15 deletions

View File

@ -73,8 +73,6 @@ treeview_create_team_selection_list(gboolean show_cup_teams, gboolean show_user_
G_TYPE_POINTER);
for(i=0;i<ligs->len;i++)
{
if(!query_league_cup_has_property(lig(i).id, "inactive"))
{
for(j=0;j<lig(i).teams->len;j++)
{
@ -91,7 +89,6 @@ treeview_create_team_selection_list(gboolean show_cup_teams, gboolean show_user_
}
}
}
}
if(!show_cup_teams)
return GTK_TREE_MODEL(ls);