mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Added class ogStaticText to the static text shown among the options.
Fixed bugs in Tab.
This commit is contained in:
parent
8e0cd35c23
commit
636af8933c
5 changed files with 76 additions and 46 deletions
|
@ -192,7 +192,8 @@ void create_preset_tabs(PresetBundle *preset_bundle, AppConfig *app_config)
|
|||
add_created_tab(new TabPrinter (g_wxTabPanel, "Printer"), preset_bundle, app_config);
|
||||
g_wxTabPanel->Bind(wxEVT_NOTEBOOK_PAGE_CHANGED, ([](wxCommandEvent e){
|
||||
Tab* panel = (Tab*)g_wxTabPanel->GetCurrentPage();
|
||||
if (panel->GetName().compare("Filament")==0)
|
||||
if (panel->GetName().compare("Print")==0 ||
|
||||
panel->GetName().compare("Filament") == 0)
|
||||
panel->OnActivate();
|
||||
}), g_wxTabPanel->GetId() );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue