summaryrefslogtreecommitdiff
path: root/plugins/QuickSearch
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-09-16 14:02:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-09-16 14:02:41 +0000
commitcf1c8283aca6d09ddfc42d18c8ecc38bbc0f65fb (patch)
treecf3ec04ee9f1000cdd5e8b3d88b14d684f12646a /plugins/QuickSearch
parent8cbf63303a7f35241fa1ba2bd4ca8306e81d1837 (diff)
MS_CLIST_REMOVEMAINMENUITEM also removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@10480 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickSearch')
-rw-r--r--plugins/QuickSearch/sr_global.pas5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/QuickSearch/sr_global.pas b/plugins/QuickSearch/sr_global.pas
index 41d8eaa368..955c18e692 100644
--- a/plugins/QuickSearch/sr_global.pas
+++ b/plugins/QuickSearch/sr_global.pas
@@ -264,10 +264,9 @@ begin
begin
{
- if (MainMenuItem<>0) and
- (ServiceExists(MS_CLIST_REMOVEMAINMENUITEM)<>0) then
+ if (MainMenuItem<>0) then
begin
- CallService(MS_CLIST_REMOVEMAINMENUITEM,MainMenuItem,0);
+ CallService(MO_REMOVEMENUITEM,MainMenuItem,0);
MainMenuItem:=0;
end;
}