We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a617f28 commit be827ffCopy full SHA for be827ff
idaplugin/rematch/actions/base.py
@@ -128,10 +128,11 @@ def activate(self, ctx):
128
submit_handler=self.submit_handler,
129
response_handler=self.response_handler,
130
exception_handler=self.exception_handler)
131
- if self.finish_handler:
132
- self.ui.finished.connect(self.finish_handler)
133
- self.ui.finished.connect(self.close_dialog)
134
- self.ui.finished.connect(self.force_update)
+ if hasattr(self.ui, 'finished'):
+ if self.finish_handler:
+ self.ui.finished.connect(self.finish_handler)
+ self.ui.finished.connect(self.close_dialog)
135
+ self.ui.finished.connect(self.force_update)
136
self.ui.show()
137
else:
138
log('actions').warn("%s: no activation", self.__class__)
0 commit comments