Show updates pending while running domain

Maybe it is not useful for templates but I think it is better for StandaloneVMs since you will not notice pending updates until shutdown them with the other version.
This commit is contained in:
donoban 2018-06-12 11:42:07 +02:00
parent 52c38b67c6
commit 34bcabd79a
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5

View File

@ -420,7 +420,7 @@ class VmUpdateInfoWidget(QtGui.QWidget):
outdated_state = "outdated"
break
elif self.vm.klass in {'TemplateVM', 'StandaloneVM'} and \
if self.vm.klass in {'TemplateVM', 'StandaloneVM'} and \
self.vm.features.get('updates-available', False):
outdated_state = 'update'