From dc725ecbad034678aa3ff8e6a72821757b931513 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 c1a59b909..cc599387d 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;