summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/QuickSearch/sr_global.pas12
1 files changed, 7 insertions, 5 deletions
diff --git a/plugins/QuickSearch/sr_global.pas b/plugins/QuickSearch/sr_global.pas
index 1490c52eea..46313225d1 100644
--- a/plugins/QuickSearch/sr_global.pas
+++ b/plugins/QuickSearch/sr_global.pas
@@ -217,11 +217,13 @@ begin
if ServiceExists(MS_TTB_ADDBUTTON) then
begin
ZeroMemory(@ttbopt,sizeof(ttbopt));
- ttbopt.pszService:=QS_SHOWSERVICE;
- ttbopt.hIconUp :=IcoLib_GetIcon(QS_QS,0);
- ttbopt.hIconDn :=ttbopt.hIconUp;
- ttbopt.dwFlags :=TTBBF_VISIBLE;
- ttbopt.name :=qs_module;
+ ttbopt.pszService := QS_SHOWSERVICE;
+ ttbopt.hIconUp := IcoLib_GetIcon(QS_QS,0);
+ ttbopt.hIconDn := ttbopt.hIconUp;
+ ttbopt.dwFlags := TTBBF_VISIBLE;
+ ttbopt.name := qs_module;
+ ttbopt.pszTooltipUp := qs_name;
+ ttbopt.pszTooltipDn := qs_name;
hTTBButton:=TopToolbar_AddButton(@ttbopt);
if hTTBButton=THANDLE(-1) then
hTTBButton:=0;