mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
FIX: [STUDIO-3294] show/hide thirdparty calibrate button
Change-Id: Ib720f7572255f4ac506f421ccf5256ed2e3c68d1
This commit is contained in:
parent
1be8ea44e5
commit
1c0ccc5f3d
2 changed files with 4 additions and 6 deletions
|
@ -871,7 +871,7 @@ void MainFrame::show_publish_button(bool show)
|
|||
void MainFrame::show_calibration_button(bool show)
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
bool shown = m_menubar->FindMenu(_L("Calibration"));
|
||||
bool shown = m_menubar->FindMenu(_L("Calibration")) != wxNOT_FOUND;
|
||||
if (shown == show) return;
|
||||
if (show) m_menubar->Insert(3, m_calib_menu, wxString::Format("&%s", _L("Calibration")));
|
||||
else m_menubar->Remove(3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue