Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKostas Karmas <konskarm@gmail.com>2020-06-10 13:50:03 +0300
committerKostas Karmas <konskarm@gmail.com>2020-06-10 13:50:03 +0300
commit20c9be285f4a89c2cb81efb9fe285718e055e1e6 (patch)
tree96b496e5d6beaac526b402d25213105c31a405ba /resources/qml/Cura.qml
parent984426fabb3f1252be14d5337df13b34b9367b75 (diff)
Remove unnecessary variable from CuraApplication
In response to feedback comment https://github.com/Ultimaker/Cura/pull/7904#discussion_r438022415 CURA-7454
Diffstat (limited to 'resources/qml/Cura.qml')
-rw-r--r--resources/qml/Cura.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml
index da195720f7..8ba651a5b0 100644
--- a/resources/qml/Cura.qml
+++ b/resources/qml/Cura.qml
@@ -135,7 +135,7 @@ UM.MainWindow
// Reuse the welcome dialog item to show the "Add printers" dialog. Triggered when there is no active
// machine and the user is logged in.
- if (CuraApplication.shouldShowAddPrintersUncancellableDialog())
+ if (!Cura.MachineManager.activeMachine && Cura.API.account.isLoggedIn)
{
welcomeDialogItem.model = CuraApplication.getAddPrinterPagesModelWithoutCancel()
welcomeDialogItem.progressBarVisible = false