mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Remove unnecessary variable from CuraApplication
In response to feedback comment https://github.com/Ultimaker/Cura/pull/7904#discussion_r438022415 CURA-7454
This commit is contained in:
parent
984426fabb
commit
20c9be285f
2 changed files with 1 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue