From b1a82ff56811565d11ef3b6506c5a7f3d8b595e9 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sat, 26 Feb 2022 12:48:52 +0100 Subject: Now games can be imported --- 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 bc417b6..5ba01ad 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -57,9 +57,9 @@ MainWindow::MainWindow() Bind(NEW_GAME_EVENT, &MainWindow::OnNewGame, this, wxID_ANY); Bind(wxEVT_CLOSE_WINDOW, &MainWindow::OnClose, this); - /*BaseTab *bt = new BaseTab((wxFrame *)notebook, "/home/loic/hartwig.pgn"); + BaseTab *bt = new BaseTab((wxFrame *)notebook, "/home/loic/hartwig_tests.pgn"); notebook->AddPage(bt, bt->GetLabel()); - notebook->SetSelection(notebook->GetPageIndex(bt));*/ + notebook->SetSelection(notebook->GetPageIndex(bt)); } void MainWindow::OnSettings(wxCommandEvent &event) { -- cgit v1.2.3