From 47604b6326d40bfe66c46ed471adb43d1d153e66 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Wed, 26 Feb 2020 10:18:04 +0100 Subject: [PATCH] #3707 - Fixed buttons layout after closing preference dialog --- src/slic3r/GUI/MainFrame.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp index 428dc283b..966fb7c8e 100644 --- a/src/slic3r/GUI/MainFrame.cpp +++ b/src/slic3r/GUI/MainFrame.cpp @@ -1148,11 +1148,12 @@ void MainFrame::add_to_recent_projects(const wxString& filename) // Update the UI based on the current preferences. void MainFrame::update_ui_from_settings() { - const bool bp_on = wxGetApp().app_config->get("background_processing") == "1"; +// const bool bp_on = wxGetApp().app_config->get("background_processing") == "1"; // m_menu_item_reslice_now->Enable(!bp_on); - m_plater->sidebar().show_reslice(!bp_on); - m_plater->sidebar().show_export(bp_on); - m_plater->sidebar().Layout(); +// m_plater->sidebar().show_reslice(!bp_on); +// m_plater->sidebar().show_export(bp_on); +// m_plater->sidebar().Layout(); + if (m_plater) m_plater->update_ui_from_settings(); for (auto tab: wxGetApp().tabs_list)