From f329c5f20434a07cc6c64c90d221181c27207a9c Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sat, 26 Feb 2022 18:46:06 +0100 Subject: Improve engine support --- src/MainWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/MainWindow.cpp') diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index b3ed9c4..72736c9 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -67,9 +67,9 @@ MainWindow::MainWindow() "/home/loic/hartwig_tests.pgn"); notebook->AddPage(bt, bt->GetLabel()); notebook->SetSelection(notebook->GetPageIndex(bt));*/ - /*EngineTab *bt = new EngineTab((wxWindow *)notebook, + EngineTab *bt = new EngineTab((wxWindow *)notebook, "/home/loic/.local/bin/stockfish"); notebook->AddPage(bt, bt->GetLabel()); - notebook->SetSelection(notebook->GetPageIndex(bt));*/ + notebook->SetSelection(notebook->GetPageIndex(bt)); } void MainWindow::OnSettings(wxCommandEvent &event) { -- cgit v1.2.3