summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-19 18:19:47 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-19 18:19:47 +0300
commit624c9066d85c4da900cf440ca6066f86ef0b044d (patch)
treeadd8020aeecd60ccc892640914496dcd315947c0 /src/mir_app
parent2dd3e220e4c783a5454d763b01d56e71042644f2 (diff)
EV_PROTO_ONOPTIONS removed and replaced with the call of CallObjectEventHook(pa->ppro, ME_OPT_INITIALIZE)
this eliminates the possibility of making a mistake in hand-written code also fixes #1280 (Tox: "Confugure" menu item is broken)
Diffstat (limited to 'src/mir_app')
-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 b370c80072..7c36c04fb3 100644
--- a/src/mir_app/src/options.cpp
+++ b/src/mir_app/src/options.cpp
@@ -1144,7 +1144,7 @@ void OpenAccountOptions(PROTOACCOUNT *pa)
return;
OptionsPageList arPages(1);
- pa->ppro->OnEvent(EV_PROTO_ONOPTIONS, (WPARAM)&arPages, 0);
+ CallObjectEventHook(pa->ppro, hOptionsInitEvent, (WPARAM)&arPages, 0);
if (arPages.getCount() == 0)
return;