diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp index fa73ff795a..0f2a9c3baa 100644 --- a/src/slic3r/GUI/MainFrame.cpp +++ b/src/slic3r/GUI/MainFrame.cpp @@ -882,17 +882,17 @@ void MainFrame::show_publish_button(bool show) void MainFrame::show_calibration_button(bool show) { -#ifdef __APPLE__ - bool shown = m_menubar->FindMenu(_L("Calibration")) != wxNOT_FOUND; - if (shown == show) - ; - else if (show) - m_menubar->Insert(3, m_calib_menu, wxString::Format("&%s", _L("Calibration"))); - else - m_menubar->Remove(3); -#else - topbar()->ShowCalibrationButton(show); -#endif +// #ifdef __APPLE__ +// bool shown = m_menubar->FindMenu(_L("Calibration")) != wxNOT_FOUND; +// if (shown == show) +// ; +// else if (show) +// m_menubar->Insert(3, m_calib_menu, wxString::Format("&%s", _L("Calibration"))); +// else +// m_menubar->Remove(3); +// #else +// topbar()->ShowCalibrationButton(show); +// #endif show = !show; auto shown2 = m_tabpanel->FindPage(m_calibration) != wxNOT_FOUND; if (shown2 == show) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 3919f58817..c7619866f4 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -1160,6 +1160,10 @@ void Sidebar::update_presets(Preset::Type preset_type) printer_tab->update(); } + bool isBBL = preset_bundle.is_bbl_vendor(); + wxGetApp().mainframe->show_calibration_button(!isBBL); + + break; } default: break;