Show More
@@ -45,7 +45,7 b' def inputhook(context):' | |||||
45 | QtCore.QSocketNotifier.Read) |
|
45 | QtCore.QSocketNotifier.Read) | |
46 | try: |
|
46 | try: | |
47 | # connect the callback we care about before we turn it on |
|
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 | notifier.setEnabled(True) |
|
49 | notifier.setEnabled(True) | |
50 | # only start the event loop we are not already flipped |
|
50 | # only start the event loop we are not already flipped | |
51 | if not context.input_is_ready(): |
|
51 | if not context.input_is_ready(): |
General Comments 0
You need to be logged in to leave comments.
Login now