FIX: [STUDIO-1575] end dialog with wxID_ABORT on user end session

Change-Id: Ie509b5780a5d11572eadd6dee2fd93903c128c17
This commit is contained in:
chunmao.guo 2022-12-13 11:00:38 +08:00 committed by Lane.Wei
parent a6e3d63576
commit 6763968461
2 changed files with 6 additions and 3 deletions

View file

@ -2064,7 +2064,7 @@ bool GUI_App::on_init_inner()
}
}
for (auto d : dialogStack)
d->EndModal(wxID_CANCEL);
d->EndModal(wxID_ABORT);
});
std::map<std::string, std::string> extra_headers = get_extra_header();