Permalink
Browse files

Fix: crash when cancel closing slave tab

  • Loading branch information...
1 parent 4f5f50a commit e0cf8ec939c75071b868778b16fe9323bdbc5dda @Carreau Carreau committed with fperez Oct 10, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 IPython/frontend/qt/console/qtconsoleapp.py
@@ -211,8 +211,6 @@ def closeTab(self,currentTab):
)
if reply == okay:
self.tabWidget.removeTab(currentTab)
- else:
- event.ignore()
elif keepkernel: #close console but leave kernel running (no prompt)
if kernel_manager and kernel_manager.channels_running:
if not closing_widget._existing:

0 comments on commit e0cf8ec

Please sign in to comment.