mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-26 10:11:10 -06:00
Check unsaved changes before opening of the ConfigWizard
This commit is contained in:
parent
d0e37aada8
commit
20453f412b
6 changed files with 13 additions and 12 deletions
|
|
@ -636,8 +636,7 @@ PlaterPresetComboBox::~PlaterPresetComboBox()
|
|||
|
||||
static void run_wizard(ConfigWizard::StartPage sp)
|
||||
{
|
||||
if (wxGetApp().check_and_save_current_preset_changes())
|
||||
wxGetApp().run_wizard(ConfigWizard::RR_USER, sp);
|
||||
wxGetApp().run_wizard(ConfigWizard::RR_USER, sp);
|
||||
}
|
||||
|
||||
void PlaterPresetComboBox::OnSelect(wxCommandEvent &evt)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue