-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENH] Check if updates are available upon startup #2273
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2273 +/- ##
==========================================
- Coverage 73.2% 73.19% -0.02%
==========================================
Files 316 316
Lines 55289 55289
==========================================
- Hits 40475 40468 -7
- Misses 14814 14821 +7 |
Orange/canvas/__main__.py
Outdated
settings.setValue("startup/show-survey", not success) | ||
else: | ||
settings.setValue("startup/show-survey", result != QMessageBox.No) | ||
|
||
question.finished.connect(handle_response) | ||
question.show() | ||
|
||
check_updates = settings.value('startup/check-updates', True, type=bool) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this code be put in a separate function, called here with settings as parameter?
main is already too long and I am not fond of making it even longer
367dd30
to
3d3123e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Please squash the commits so I can merge.
Issue
Too many users using stale Orange versions.
Description of changes
Upon application startup, check if newer software version is available.
Includes