Skip to content

Commit

Permalink
owpythonscript: Terminate qutepart onDeleteWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
irgolic committed Aug 12, 2021
1 parent b4fff39 commit 70de44e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Orange/widgets/data/owpythonscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,10 @@ def migrate_settings(cls, settings, version):
for s in scripts] # type: List[_ScriptData]
settings["scriptLibrary"] = library

def onDeleteWidget(self):
self.text.terminate()
super().onDeleteWidget()


class OWPythonScriptDropHandler(SingleFileDropHandler):
WIDGET = OWPythonScript
Expand Down

0 comments on commit 70de44e

Please sign in to comment.