From 78eddb91f332cdce8ad219a041614a28be49a7e1 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Mon, 22 Nov 2021 12:06:25 +0100 Subject: [PATCH] Disable SL1 import in FFF mode in the UI. --- 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 bfb2537813..8b35ef28dc 100644 --- a/src/slic3r/GUI/MainFrame.cpp +++ b/src/slic3r/GUI/MainFrame.cpp @@ -1214,7 +1214,7 @@ void MainFrame::init_menubar_as_editor() append_menu_item(import_menu, wxID_ANY, _L("Import SL1 / SL1S archive") + dots, _L("Load an SL1 / Sl1S archive"), [this](wxCommandEvent&) { if (m_plater) m_plater->import_sl1_archive(); }, "import_plater", nullptr, - [this](){return m_plater != nullptr; }, this); + [this](){ return m_plater != nullptr && m_plater->printer_technology() == ptSLA; }, this); import_menu->AppendSeparator(); append_menu_item(import_menu, wxID_ANY, _L("Import &Config") + dots + "\tCtrl+L", _L("Load exported configuration file"),