Skip to content
Browse files

inputhookqt4: need to ignore CTRL+C when exiting input hook

  • Loading branch information...
1 parent 0fc80df commit a0e06926485a1f357ec1a7d2a0d792896ba5330c @cboos committed Oct 19, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 IPython/lib/inputhookqt4.py
View
1 IPython/lib/inputhookqt4.py
@@ -88,6 +88,7 @@ def inputhook_qt4():
timer.start(50)
app.exec_()
timer.stop()
+ ignore_CTRL_C()
except KeyboardInterrupt:
ignore_CTRL_C()
got_kbdint[0] = True

0 comments on commit a0e0692

Please sign in to comment.
Something went wrong with that request. Please try again.