Allows system shutdown/restart when manager window is open
This commit is contained in:
parent
c9f224d1aa
commit
86d3254c26
@ -605,6 +605,7 @@ class VmManagerWindow(QMainWindow):
|
||||
return tbl_W
|
||||
|
||||
def closeEvent (self, event):
|
||||
if event.spontaneous(): # There is something borked in Qt, as the logic here is inverted on X11
|
||||
self.hide()
|
||||
event.ignore()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user