mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Correct renamed welcome check function
Contributes to issue CURA-6435.
This commit is contained in:
parent
6169d1ad5c
commit
325e60d821
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ class WelcomePagesModel(ListModel):
|
||||||
show_whatsnew_only = False
|
show_whatsnew_only = False
|
||||||
if update_should_show_flag:
|
if update_should_show_flag:
|
||||||
has_active_machine = self._application.getMachineManager().activeMachine is not None
|
has_active_machine = self._application.getMachineManager().activeMachine is not None
|
||||||
has_app_just_upgraded = self._application.hasJustUpgradedToNewVersion()
|
has_app_just_upgraded = self._application.hasJustUpdatedFromOldVersion()
|
||||||
|
|
||||||
# Only show the what's new dialog if there's no machine and we have just upgraded
|
# Only show the what's new dialog if there's no machine and we have just upgraded
|
||||||
show_complete_flow = not has_active_machine
|
show_complete_flow = not has_active_machine
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue