mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:39:03 +08:00
Correct renamed welcome check function
Contributes to issue CURA-6435.
This commit is contained in:
parent
6169d1ad5c
commit
325e60d821
@ -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…
x
Reference in New Issue
Block a user