summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-07-11 13:48:51 +0200
committerMontel Laurent <[email protected]>2017-07-11 13:48:51 +0200
commit9b6d27d4c8ea9a517f74725583867eb51cb82ced (patch)
tree695f510a5b0d0596a0f98e9f6d6bde5b89a7d43b
parenteb8215de01a092785b0c6df6fe6e52e83c8591d5 (diff)
Fix crash when we close dialog
-rw-r--r--src/ksieveui/sievescriptdebugger/sievescriptdebuggerfrontendwidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ksieveui/sievescriptdebugger/sievescriptdebuggerfrontendwidget.cpp b/src/ksieveui/sievescriptdebugger/sievescriptdebuggerfrontendwidget.cpp
index 0dbec4d..b00e07e 100644
--- a/src/ksieveui/sievescriptdebugger/sievescriptdebuggerfrontendwidget.cpp
+++ b/src/ksieveui/sievescriptdebugger/sievescriptdebuggerfrontendwidget.cpp
@@ -121,6 +121,7 @@ SieveScriptDebuggerFrontEndWidget::SieveScriptDebuggerFrontEndWidget(QWidget *pa
SieveScriptDebuggerFrontEndWidget::~SieveScriptDebuggerFrontEndWidget()
{
+ disconnect(mSieveTextEditWidget->textEdit(), &KSieveUi::SieveScriptDebuggerTextEdit::textChanged, this, &SieveScriptDebuggerFrontEndWidget::slotScriptTextChanged);
}