mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Fixup of previous commit
This commit is contained in:
@@ -329,7 +329,7 @@ void MainFrame::init_tabpanel()
|
|||||||
Tab* tab = dynamic_cast<Tab*>(panel);
|
Tab* tab = dynamic_cast<Tab*>(panel);
|
||||||
|
|
||||||
// There shouldn't be a case, when we try to select a tab, which doesn't support a printer technology
|
// There shouldn't be a case, when we try to select a tab, which doesn't support a printer technology
|
||||||
if (panel == nullptr || (tab && tab->supports_printer_technology(m_plater->printer_technology())))
|
if (panel == nullptr || (tab && ! tab->supports_printer_technology(m_plater->printer_technology())))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
auto& tabs_list = wxGetApp().tabs_list;
|
auto& tabs_list = wxGetApp().tabs_list;
|
||||||
|
|||||||
Reference in New Issue
Block a user