aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/editor/ScriptEditorImplementation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/editor/ScriptEditorImplementation.cpp')
-rw-r--r--src/modules/editor/ScriptEditorImplementation.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/editor/ScriptEditorImplementation.cpp b/src/modules/editor/ScriptEditorImplementation.cpp
index 81081fae8..c567d01e3 100644
--- a/src/modules/editor/ScriptEditorImplementation.cpp
+++ b/src/modules/editor/ScriptEditorImplementation.cpp
@@ -137,6 +137,11 @@ ScriptEditorWidget::~ScriptEditorWidget()
if(m_pCompleter)
delete m_pCompleter;
disableSyntaxHighlighter();
+ if(m_pStartTimer) {
+ m_pStartTimer->stop();
+ m_pStartTimer->deleteLater();
+ m_pStartTimer = nullptr;
+ }
}
void ScriptEditorWidget::checkReadyCompleter()