From 3d530e4f7382e6a9d50cb2ade8be2f2508bd5760 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Wed, 15 May 2013 20:36:45 -0400 Subject: [PATCH] fix pause button. I'm not sure why I removed that ... --- src/gui/game/GameView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/game/GameView.cpp b/src/gui/game/GameView.cpp index e03dc78d0..12414c71f 100644 --- a/src/gui/game/GameView.cpp +++ b/src/gui/game/GameView.cpp @@ -403,6 +403,7 @@ GameView::GameView(): }; pauseButton = new ui::Button(ui::Point(Size.X-16, Size.Y-16), ui::Point(15, 15), "", "Pause/Resume the simulation"); //Pause pauseButton->SetIcon(IconPause); + pauseButton->SetTogglable(true); pauseButton->SetActionCallback(new PauseAction(this)); AddComponent(pauseButton);