mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
UnsavedChangesDialog : improvements
* Added "Remember my choice" checkbox * Center on the screen and set position in respect to the position of mainframe or settings dialog Preferences : Added checkboxes for enable/suppress showing of the UnsavedChangeDialog SearchImGui : close after parameter selection_is_changed_according_to_physical_printers PhysicalPrinterDialog, SavePresetDialog : Center on the screen
This commit is contained in:
parent
650bbb3484
commit
00a7799341
12 changed files with 171 additions and 58 deletions
|
@ -122,6 +122,12 @@ void AppConfig::set_defaults()
|
|||
if (get("show_splash_screen").empty())
|
||||
set("show_splash_screen", "1");
|
||||
|
||||
if (get("default_action_on_close_application").empty())
|
||||
set("default_action_on_close_application", "none"); // , "discard" or "save"
|
||||
|
||||
if (get("default_action_on_select_preset").empty())
|
||||
set("default_action_on_select_preset", "none"); // , "transfer", "discard" or "save"
|
||||
|
||||
// Remove legacy window positions/sizes
|
||||
erase("", "main_frame_maximized");
|
||||
erase("", "main_frame_pos");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue