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:
YuSanka 2021-06-11 10:32:54 +02:00
parent 69b9beaec0
commit 87a996d0d5
6 changed files with 20 additions and 14 deletions

View file

@ -186,7 +186,7 @@ public:
// Called after the Preferences dialog is closed and the program settings are saved.
// Update the UI based on the current preferences.
void update_ui_from_settings(bool apply_free_camera_correction = true);
void update_ui_from_settings();
void select_all();
void deselect_all();