ENH:update SyncAmsInfoDialog

jira: none
Change-Id: Icdfaa85500a0f448b9959923b863e6fbf72b397f
(cherry picked from commit baa2282dede7886720cdb564ef4de22710c5528c)
This commit is contained in:
zhou.xu
2025-01-16 16:22:20 +08:00
committed by Noisyfox
parent 242f62861e
commit 80cd896896
7 changed files with 231 additions and 79 deletions

View File

@@ -2710,7 +2710,9 @@ void Sidebar::sync_ams_list()
if (dlg_res == wxID_CANCEL)
return;
auto sync_result = sync_dlg.get_result();
if (!sync_result.is_same_printer) {
return;
}
list2.resize(list.size());
auto iter = list.begin();
for (int i = 0; i < list.size(); ++i, ++iter) {