mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX: [STUDIO-1556] not show plugin download dialog again
Change-Id: I7eccb94f7c6ba69fe316c374b5f19f57cbc0fa18
This commit is contained in:
parent
92022bd809
commit
225b68034e
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue