Show More
@@ -45,7 +45,7 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 | notifier.activated.connect(event_loop.exit) | |
|
48 | notifier.activated.connect(lambda: event_loop.exit()) | |
|
49 | 49 | notifier.setEnabled(True) |
|
50 | 50 | # only start the event loop we are not already flipped |
|
51 | 51 | if not context.input_is_ready(): |
General Comments 0
You need to be logged in to leave comments.
Login now