mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-01-23 04:11:10 +01:00
Inactive leagues re-enabled in team selections.
This commit is contained in:
parent
3c119fbf75
commit
e1256eaec1
@ -73,8 +73,6 @@ treeview_create_team_selection_list(gboolean show_cup_teams, gboolean show_user_
|
|||||||
G_TYPE_POINTER);
|
G_TYPE_POINTER);
|
||||||
|
|
||||||
for(i=0;i<ligs->len;i++)
|
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++)
|
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)
|
if(!show_cup_teams)
|
||||||
return GTK_TREE_MODEL(ls);
|
return GTK_TREE_MODEL(ls);
|
||||||
|
Loading…
Reference in New Issue
Block a user