Catch weird TypeError when aborting question
This commit is contained in:
parent
dcc43db14e
commit
9c26eba761
@ -293,7 +293,13 @@ class Question(QObject):
|
||||
aborted: Always emitted.
|
||||
"""
|
||||
self.is_aborted = True
|
||||
self.aborted.emit()
|
||||
try:
|
||||
self.aborted.emit()
|
||||
except TypeError:
|
||||
# FIXME
|
||||
# We seem to get "pyqtSignal must be bound to a QObject, not
|
||||
# 'Question' here, which makes no sense at all..."
|
||||
pass
|
||||
|
||||
|
||||
class Timer(QTimer):
|
||||
|
Loading…
Reference in New Issue
Block a user