Show More
@@ -45,6 +45,8 b' def inputhook(context):' | |||
|
45 | 45 | QtCore.QSocketNotifier.Read) |
|
46 | 46 | try: |
|
47 | 47 | # connect the callback we care about before we turn it on |
|
48 | # lambda is necessary as PyQT inspect the function signature to know | |
|
49 | # what arguments to pass to. See https://github.com/ipython/ipython/pull/12355 | |
|
48 | 50 | notifier.activated.connect(lambda: event_loop.exit()) |
|
49 | 51 | notifier.setEnabled(True) |
|
50 | 52 | # only start the event loop we are not already flipped |
General Comments 0
You need to be logged in to leave comments.
Login now