Paranoia
authorEd Page <eopage@byu.net>
Sun, 10 Apr 2011 03:08:17 +0000 (22:08 -0500)
committerEd Page <eopage@byu.net>
Tue, 19 Apr 2011 23:49:31 +0000 (18:49 -0500)
src/util/qui_utils.py

index 66ac791..ada4567 100644 (file)
@@ -272,16 +272,19 @@ class QSignalingMainWindow(QtGui.QMainWindow):
                QtGui.QMainWindow.__init__(*((self, )+args), **kwd)
 
        def closeEvent(self, event):
-               QtGui.QMainWindow.closeEvent(self, event)
+               val = QtGui.QMainWindow.closeEvent(self, event)
                self.closed.emit()
+               return val
 
        def hideEvent(self, event):
-               QtGui.QMainWindow.hideEvent(self, event)
+               val = QtGui.QMainWindow.hideEvent(self, event)
                self.hidden.emit()
+               return val
 
        def showEvent(self, event):
-               QtGui.QMainWindow.showEvent(self, event)
+               val = QtGui.QMainWindow.showEvent(self, event)
                self.shown.emit()
+               return val
 
 
 def _null_set_stackable(window, isStackable):