mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: the data and UI are out of sync when creating printer
jira: STUDIO-11080 Change-Id: I4cc86174b4ed847b53c87f85f9e590742e6dd9ff (cherry picked from commit c366876acfb95b16bedb57f9e22e1623fc749f7e)
This commit is contained in:
@@ -1929,10 +1929,10 @@ void Sidebar::create_printer_preset()
|
||||
CreatePrinterPresetDialog dlg(wxGetApp().mainframe);
|
||||
int res = dlg.ShowModal();
|
||||
if (wxID_OK == res) {
|
||||
wxGetApp().load_current_presets();
|
||||
wxGetApp().mainframe->update_side_preset_ui();
|
||||
update_ui_from_settings();
|
||||
update_all_preset_comboboxes();
|
||||
wxGetApp().load_current_presets();
|
||||
CreatePresetSuccessfulDialog success_dlg(wxGetApp().mainframe, SuccessType::PRINTER);
|
||||
int res = success_dlg.ShowModal();
|
||||
if (res == wxID_OK) {
|
||||
|
||||
Reference in New Issue
Block a user