Permalink
Browse files

inputhookqt4: forgot to reset KeyboardInterrupt flag

  • Loading branch information...
1 parent aa6d06b commit c795b613b2a0e38354e9e80117917c9c5a1d3b82 @cboos committed Oct 9, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 IPython/lib/inputhookqt4.py
@@ -85,6 +85,7 @@ def inputhook_qt4():
def preprompthook_qt4(ishell):
if got_kbdint[0]:
mgr.set_inputhook(inputhook_qt4)
+ got_kbdint[0] = False
ipapi.get().set_hook('pre_prompt_hook', preprompthook_qt4)
return app, inputhook_qt4

0 comments on commit c795b61

Please sign in to comment.