mirror of https://github.com/tstellar/bygfoot.git
Fix crash when closing the live game window after loading a saved game
(cherry picked from commit b0922c2f0794f6b2f6c24c6e806c4d227d1679bd)
This commit is contained in:
parent
2100bc8dc5
commit
f18841c40b
|
@ -354,7 +354,7 @@ load_save_load_game(Bygfoot *bygfoot, const gchar* filename, gboolean create_mai
|
||||||
|
|
||||||
if(create_main_window)
|
if(create_main_window)
|
||||||
{
|
{
|
||||||
window_create(WINDOW_MAIN);
|
window_create_with_userdata(WINDOW_MAIN, bygfoot);
|
||||||
on_button_back_to_main_clicked(NULL, NULL);
|
on_button_back_to_main_clicked(NULL, NULL);
|
||||||
}
|
}
|
||||||
else if(window.main != NULL)
|
else if(window.main != NULL)
|
||||||
|
|
Loading…
Reference in New Issue