feat: refactor notebook/tabs to be string based instead of fixed index based

This commit is contained in:
Ian Chua committed 2026-07-28 19:17:05 +08:00
1 parent 43725128d3
commit 56c28fc102
16 files changed
+233 -136

No files matched your search

+1 -1
View File
@@ -1039,7 +1039,7 @@ bool PlaterPresetComboBox::switch_to_tab()
//BBS Select NoteBook Tab params
if (tab->GetParent() == wxGetApp().params_panel())
wxGetApp().mainframe->select_tab(MainFrame::tp3DEditor);
wxGetApp().mainframe->select_tab(TAB_ID_PREPARE);
else {
wxGetApp().params_dialog()->Popup();
tab->OnActivate();