Remove "you have just modified template" message (#557)
This commit is contained in:
parent
2c562ee3c7
commit
7472c3a98b
@ -647,8 +647,6 @@ class VmShutdownMonitor(QObject):
|
|||||||
vm = self.vm
|
vm = self.vm
|
||||||
vm_start_time = vm.get_start_time()
|
vm_start_time = vm.get_start_time()
|
||||||
if not vm.is_running() or (vm_start_time and vm_start_time >= datetime.utcnow() - timedelta(0,self.shutdown_time/1000)):
|
if not vm.is_running() or (vm_start_time and vm_start_time >= datetime.utcnow() - timedelta(0,self.shutdown_time/1000)):
|
||||||
if vm.is_template():
|
|
||||||
trayIcon.showMessage ("You have just modified template '{0}'. You should now restart all the VMs based on it, so they could see the changes.".format(vm.name), msecs=8000)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
reply = QMessageBox.question(None, "VM Shutdown",
|
reply = QMessageBox.question(None, "VM Shutdown",
|
||||||
|
Loading…
Reference in New Issue
Block a user