FIX: gui: fix a crash when sync ams

jira: no-jira
Change-Id: I3bafafdf47ba88b80500e756a1d60f0d83387bc5
This commit is contained in:
lane.wei 2025-02-15 15:49:58 +08:00
parent 4f8c4c068e
commit 23a0069a4d
1 changed files with 1 additions and 1 deletions

View File

@ -3155,7 +3155,7 @@ void Sidebar::sync_ams_list(bool is_from_big_sync_btn)
}
Layout();
pop_finsish_sync_ams_dialog();
wxTheApp->CallAfter([this]() {pop_finsish_sync_ams_dialog(); });
}
PlaterPresetComboBox* Sidebar::printer_combox()