mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
53489c0eaa
commit
8568887d36
@ -143,6 +143,8 @@ class UpdateMixin(object):
|
||||
self.last_newest_calibre_version = calibre_version
|
||||
has_calibre_update = calibre_version and calibre_version != NO_CALIBRE_UPDATE
|
||||
has_plugin_updates = plugin_updates > 0
|
||||
self.plugin_update_found(plugin_updates)
|
||||
|
||||
if not has_calibre_update and not has_plugin_updates:
|
||||
self.status_bar.update_label.setVisible(False)
|
||||
return
|
||||
@ -159,7 +161,6 @@ class UpdateMixin(object):
|
||||
self.status_bar.update_label.setText(msg)
|
||||
self.status_bar.update_label.setVisible(True)
|
||||
|
||||
self.plugin_update_found(plugin_updates)
|
||||
|
||||
if has_calibre_update:
|
||||
if (force or (config.get('new_version_notification') and
|
||||
|
Loading…
x
Reference in New Issue
Block a user