diff options
Diffstat (limited to 'src/game_tab/right_panel/GameTabRightPanel.cpp')
| -rw-r--r-- | src/game_tab/right_panel/GameTabRightPanel.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game_tab/right_panel/GameTabRightPanel.cpp b/src/game_tab/right_panel/GameTabRightPanel.cpp index 7aa8bbd..f421228 100644 --- a/src/game_tab/right_panel/GameTabRightPanel.cpp +++ b/src/game_tab/right_panel/GameTabRightPanel.cpp @@ -60,6 +60,12 @@ void GameTabRightPanel::OnLiveAnalysis(wxCommandEvent &event) { live_engine->Bind(wxEVT_CLOSE_WINDOW, &GameTabRightPanel::OnLiveEngineClose, this, ID_LIVE_ENGINE_DIALOG); + live_engine->Bind(SHOW_ENGINE_EVALUATION, [p=this](wxCommandEvent &e){ + wxCommandEvent notifyEvent(SHOW_ENGINE_EVALUATION,p->GetId()); + notifyEvent.SetEventObject(p); + notifyEvent.SetClientData(e.GetClientData()); + p->ProcessEvent(notifyEvent); + }); } } } |
