Code refactoring to avoid a call of update_ui_from_settings() every time when switching between "3D-View" and "Preview"
This commit is contained in:
parent
69b9beaec0
commit
87a996d0d5
6 changed files with 20 additions and 14 deletions
src/slic3r/GUI
|
@ -162,7 +162,7 @@ public:
|
|||
void init_menubar_as_gcodeviewer();
|
||||
void update_menubar();
|
||||
|
||||
void update_ui_from_settings(bool apply_free_camera_correction = true);
|
||||
void update_ui_from_settings();
|
||||
bool is_loaded() const { return m_loaded; }
|
||||
bool is_last_input_file() const { return !m_qs_last_input_file.IsEmpty(); }
|
||||
bool is_dlg_layout() const { return m_layout == ESettingsLayout::Dlg; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue