summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-11 13:37:09 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-11 13:37:09 +0300
commitdad978080f4762f07c9b7d59e2b9de86fab2959e (patch)
treeaeda849f00e27c1a6fad5edb47f6fcd456267672 /src
parent5eae568174461a3ec041a4615a6798dcdc59b334 (diff)
#suddenly: option pages don't receive neither WM_CLOSE nor even WM_DESTROY
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/options.cpp b/src/mir_app/src/options.cpp
index da88c86c8b..f7bca2cd9b 100644
--- a/src/mir_app/src/options.cpp
+++ b/src/mir_app/src/options.cpp
@@ -226,7 +226,7 @@ struct OptionsPageData : public MZeroedObject
~OptionsPageData()
{
- delete pDialog;
+ pDialog->Close();
}
CDlgBase *pDialog;