mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 03:07:53 -06: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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue