8000 added QtGui.QMainWindow.closeEvent() to make sure the close event · matplotlib/matplotlib@ee4feb3 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee4feb3

Browse files
Thomas A Caswelltacaswell
authored andcommitted
added QtGui.QMainWindow.closeEvent() to make sure the close event
cascades up properly. issue #1676
1 parent 0ac3e46 commit ee4feb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/backends/backend_qt4.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ def idle_draw(*args):
370370
class MainWindow(QtGui.QMainWindow):
371371
def closeEvent(self, event):
372372
self.emit(QtCore.SIGNAL('closing()'))
373+
QtGui.QMainWindow.closeEvent(self,event)
373374

374375
class FigureManagerQT( FigureManagerBase ):
375376
"""

0 commit comments

Comments
 (0)
0