Commit 4d2ec48b authored by Pedro Aldatxarren's avatar Pedro Aldatxarren Committed by Michael Catanzaro

Fix display of level completed label and next level button

Fixes #22
parent 1c331f43
......@@ -876,6 +876,8 @@ public class Nibbles : Gtk.Application
if (game.current_level == NibblesGame.MAX_LEVEL)
return;
view.hide ();
new_game_action.set_enabled (false);
pause_action.set_enabled (false);
......@@ -900,6 +902,8 @@ public class Nibbles : Gtk.Application
headerbar.set_title (_("Level %d").printf (game.current_level));
view.show ();
restart_game ();
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment