aboutsummaryrefslogtreecommitdiff
path: root/src/MainWindow.cpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-02-26 12:48:52 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-02-26 12:48:52 +0100
commitb1a82ff56811565d11ef3b6506c5a7f3d8b595e9 (patch)
treeab02508785096d8b434866402b57f9996efb19db /src/MainWindow.cpp
parente0a1894928abb8361f959a147066e94e2cda996b (diff)
Now games can be imported
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r--src/MainWindow.cpp4
1 files changed, 2 insertions, 2 deletions
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) {