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, 3 insertions, 0 deletions
diff --git a/src/game_tab/GameTab.cpp b/src/game_tab/GameTab.cpp
index ef71048..e9ce482 100644
--- a/src/game_tab/GameTab.cpp
+++ b/src/game_tab/GameTab.cpp
@@ -33,6 +33,9 @@ GameTab::GameTab(wxFrame *parent, std::shared_ptr<Game> game)
p->board_panel->SetEngineEvaluation(*eval);
free(eval);
});
+ Bind(LIVE_ANALYSIS_STATUS, [p=this](wxCommandEvent &event){
+ p->board_panel->SetLiveEngineState((bool)event.GetInt());
+ });
}
void GameTab::OnToolClick(wxCommandEvent &event){