aboutsummaryrefslogtreecommitdiff
path: root/src/game_tab/GameTab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game_tab/GameTab.cpp')
-rw-r--r--src/game_tab/GameTab.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game_tab/GameTab.cpp b/src/game_tab/GameTab.cpp
index 20196f3..32534fd 100644
--- a/src/game_tab/GameTab.cpp
+++ b/src/game_tab/GameTab.cpp
@@ -21,7 +21,7 @@ GameTab::GameTab(wxFrame *parent, std::shared_ptr<Game> game)
// Refresh panels
RefreshTabTitle();
- board_panel->Notify(false, false);
+ board_panel->Notify();
editor_panel->Notify();
board_panel->Bind(wxEVT_TOOL,&GameTab::OnToolClick,this);
@@ -57,6 +57,7 @@ void GameTab::OnGameChange(wxCommandEvent &event) {
else {
editor_panel->Notify();
board_panel->Notify();
+ RefreshTabTitle();
}
}