mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
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
|
@ -199,7 +199,7 @@ public:
|
|||
static bool catch_error(std::function<void()> cb, const std::string& err);
|
||||
|
||||
void persist_window_geometry(wxTopLevelWindow *window, bool default_maximized = false);
|
||||
void update_ui_from_settings(bool apply_free_camera_correction = true);
|
||||
void update_ui_from_settings();
|
||||
|
||||
bool switch_language();
|
||||
bool load_language(wxString language, bool initial);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue