From 45a8b4eae4086dce3aeb389fa6c2b1c0635d134c Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Tue, 2 Jun 2020 14:49:40 +0200 Subject: [PATCH] Fixup of previous commit --- src/slic3r/GUI/MainFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp index c1a59b909ce..cc599387d88 100644 --- a/src/slic3r/GUI/MainFrame.cpp +++ b/src/slic3r/GUI/MainFrame.cpp @@ -329,7 +329,7 @@ void MainFrame::init_tabpanel() Tab* tab = dynamic_cast(panel); // 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; auto& tabs_list = wxGetApp().tabs_list;