Correct renamed welcome check function

Contributes to issue CURA-6435.
This commit is contained in:
Ghostkeeper 2019-04-16 15:28:32 +02:00
parent 6169d1ad5c
commit 325e60d821
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276

View file

@ -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