Commit 519aed8f authored by hjk's avatar hjk
Browse files

TextEditor: Prevent double deletion in fallback case

Introduced in ec5ea375

Change-Id: I246b82c7c8dadaea3374b1b019e7601c5a404fcb
Reviewed-by: default avatarhjk <>
parent d5c6a360
......@@ -243,8 +243,10 @@ public:
delete m_toolBar;
if (m_editorIsFallBack)
if (m_editorIsFallBack) {
m_editor->m_widget = 0; // That's us.
delete m_editor;
void setupDocumentSignals();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment