summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_events.cpp')
-rw-r--r--protocols/Tox/src/tox_events.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_events.cpp b/protocols/Tox/src/tox_events.cpp
index d0b30674d2..41832cdee7 100644
--- a/protocols/Tox/src/tox_events.cpp
+++ b/protocols/Tox/src/tox_events.cpp
@@ -49,5 +49,8 @@ int PreShutdown(WPARAM, LPARAM)
if (hAddNodeDlg)
SendMessage(hAddNodeDlg, WM_CLOSE, 0, 0);
+ if (hChangeNodeDlg)
+ SendMessage(hChangeNodeDlg, WM_CLOSE, 0, 0);
+
return 0;
}