diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index c806da6151..19f8174a95 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -1947,11 +1947,6 @@ class CuraApplication(QtApplication): # Only show the complete flow if there is no printer yet. return self._machine_manager.activeMachine is None - @pyqtSlot(result = bool) - def shouldShowAddPrintersUncancellableDialog(self) -> bool: - # If there is no printer and the user is logged in, show only the add printers flow in the welcome dialog. - return self._machine_manager.activeMachine is None and self.getCuraAPI().account.isLoggedIn - @pyqtSlot(result = bool) def shouldShowWhatsNewDialog(self) -> bool: has_active_machine = self._machine_manager.activeMachine is not None 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