mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 17:45:55 +08:00
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() {
|
void GUI_App::ShowDownNetPluginDlg() {
|
||||||
try {
|
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"));
|
DownloadProgressDialog dlg(_L("Downloading Bambu Network Plug-in"));
|
||||||
dlg.ShowModal();
|
dlg.ShowModal();
|
||||||
} catch (std::exception &e) {
|
} catch (std::exception &e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user