Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1678 from tacaswell/qt4_closeevent

added QtGui.QMainWindow.closeEvent() to make sure the close event
  • Loading branch information...
commit 726e67ecdc91d57093c079f0ddce6c59872d1021 1 parent f2712d5
@dmcdougall dmcdougall authored committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/matplotlib/backends/backend_qt4.py
View
1  lib/matplotlib/backends/backend_qt4.py
@@ -370,6 +370,7 @@ def idle_draw(*args):
class MainWindow(QtGui.QMainWindow):
def closeEvent(self, event):
self.emit(QtCore.SIGNAL('closing()'))
+ QtGui.QMainWindow.closeEvent(self, event)
class FigureManagerQT( FigureManagerBase ):
"""
Please sign in to comment.
Something went wrong with that request. Please try again.