FIX: [STUDIO-1556] not show plugin download dialog again
Change-Id: I7eccb94f7c6ba69fe316c374b5f19f57cbc0fa18
This commit is contained in:
parent
92022bd809
commit
225b68034e
|
@ -3092,6 +3092,11 @@ void GUI_App::ShowUserGuide() {
|
|||
|
||||
void GUI_App::ShowDownNetPluginDlg() {
|
||||
try {
|
||||
auto iter = std::find_if(dialogStack.begin(), dialogStack.end(), [](auto dialog) {
|
||||
return dynamic_cast<DownloadProgressDialog *>(dialog) != nullptr;
|
||||
});
|
||||
if (iter != dialogStack.end())
|
||||
return;
|
||||
DownloadProgressDialog dlg(_L("Downloading Bambu Network Plug-in"));
|
||||
dlg.ShowModal();
|
||||
} catch (std::exception &e) {
|
||||
|
|
Loading…
Reference in New Issue