diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-22 21:27:15 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-22 21:27:15 +0000 |
commit | fbfa53dcd5e9622613286c32ee2cab42aec0897e (patch) | |
tree | e7305d55dd44df287c22b3eac0b73bb456ff1672 /plugins/QuickSearch/sr_window.pas | |
parent | 88790eed4ffd9ca555c8f9b73cb014a93b57a34f (diff) |
Menu_ModifyItem applied to the pascal code
git-svn-id: http://svn.miranda-ng.org/main/trunk@14335 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickSearch/sr_window.pas')
-rw-r--r-- | plugins/QuickSearch/sr_window.pas | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/plugins/QuickSearch/sr_window.pas b/plugins/QuickSearch/sr_window.pas index cfb87558a2..ef57002e26 100644 --- a/plugins/QuickSearch/sr_window.pas +++ b/plugins/QuickSearch/sr_window.pas @@ -818,10 +818,7 @@ begin mnuhandle:=Menu_AddContactMenuItem(@mi);
end
else
- begin
- mi.flags :=CMIM_FLAGS;
- CallService(MS_CLIST_MODIFYMENUITEM,mnuhandle,LPARAM(@mi));
- end;
+ Menu_ModifyItem(mnuhandle, nil, INVALID_HANDLE_VALUE, 0);
end;
end;
@@ -834,11 +831,7 @@ begin end;
// Due to stupid miranda logic, we need to clear tails at service processing, not earlier
if doit then
- begin
- mi.flags :=CMIM_FLAGS or CMIF_HIDDEN;
- CallService(MS_CLIST_MODIFYMENUITEM,mnuhandle,LPARAM(@mi));
- end;
-
+ Menu_ShowItem(mnuhandle, 0);
end
else
result:=0;
|