Add missing pyqtSlot decorator.

This commit is contained in:
Florian Bruhin 2015-09-11 08:32:37 +02:00
parent c77956c9c5
commit c4c06467da

View File

@ -65,6 +65,7 @@ class ExternalEditor(QObject):
message.error(self._win_id, message.error(self._win_id,
"Failed to delete tempfile... ({})".format(e)) "Failed to delete tempfile... ({})".format(e))
@pyqtSlot(int, QProcess.ExitStatus)
def on_proc_closed(self, exitcode, exitstatus): def on_proc_closed(self, exitcode, exitstatus):
"""Write the editor text into the form field and clean up tempfile. """Write the editor text into the form field and clean up tempfile.