mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -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
|
@ -1654,7 +1654,7 @@ bool GUI_App::check_unsaved_changes(const wxString &header)
|
|||
if (has_unsaved_changes)
|
||||
{
|
||||
UnsavedChangesDialog dlg(header);
|
||||
if (dlg.ShowModal() == wxID_CANCEL)
|
||||
if (wxGetApp().app_config->get("default_action_on_close_application") == "none" && dlg.ShowModal() == wxID_CANCEL)
|
||||
return false;
|
||||
|
||||
if (dlg.save_preset()) // save selected changes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue