mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-05-05 11:13:57 +00:00
Update the db import game feature
This commit is contained in:
parent
1293b59ed5
commit
4ffba108e3
10 changed files with 47 additions and 41 deletions
|
@ -1,8 +1,13 @@
|
|||
#include "BaseImportTab.hpp"
|
||||
|
||||
|
||||
BaseImportTab::BaseImportTab(wxFrame *parent):
|
||||
TabBase_TabImport(parent)
|
||||
{
|
||||
|
||||
for (TabInfos *i : wxGetApp().ListTabInfos()) {
|
||||
if (i->type == TabInfos::GAME || i->type == TabInfos::BASE) {
|
||||
wxWindow *win = dynamic_cast<wxWindow *>(i);
|
||||
opened_game_list->Append(win->GetLabel(),i);
|
||||
opened_game_list->SetSelection(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue