Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 726e67e

Browse filesBrowse files
dmcdougalltacaswell
authored andcommitted
Merge pull request #1678 from tacaswell/qt4_closeevent
added QtGui.QMainWindow.closeEvent() to make sure the close event
1 parent f2712d5 commit 726e67e
Copy full SHA for 726e67e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎lib/matplotlib/backends/backend_qt4.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_qt4.py
+1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.