summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SpellChecker/src')
-rw-r--r--plugins/SpellChecker/src/utils.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/SpellChecker/src/utils.cpp b/plugins/SpellChecker/src/utils.cpp
index 808f16a623..605fec74c6 100644
--- a/plugins/SpellChecker/src/utils.cpp
+++ b/plugins/SpellChecker/src/utils.cpp
@@ -961,6 +961,9 @@ int RemoveContactTextBox(HWND hwnd)
KillTimer(hwnd, TIMER_ID);
mir_unsubclassWindow(hwnd, EditProc);
+ if (dlg->hwnd_owner)
+ mir_unsubclassWindow(dlg->hwnd_owner, OwnerProc);
+
dialogs.erase(hwnd);
if (dlg->hwnd_owner != NULL)
dialogs.erase(dlg->hwnd_owner);