summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-12-15 14:33:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-12-15 20:38:32 +0100
commit9fdc7384eff0e9627de2d9c2b59a7716f9e8af25 (patch)
treeb125bdc3d1f79929e6a8333027d2febf5855b49d /sfx2
parent47cc520dcc7deec8ee527505da5f28be195e1fb6 (diff)
tdf#138938 put the tooltip on the toolbar item instead of the toolbar
Change-Id: I69ff3813a726f26daa20a00ce3a0bb311a162c39 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107770 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/TabBar.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx
index 0ac834b1318e..fc6124f79659 100644
--- a/sfx2/source/sidebar/TabBar.cxx
+++ b/sfx2/source/sidebar/TabBar.cxx
@@ -219,6 +219,7 @@ void TabBar::CreateTabItem(weld::Toolbar& rItem, const DeckDescriptor& rDeckDesc
rItem.set_accessible_name(rDeckDescriptor.msTitle);
rItem.set_accessible_description(rDeckDescriptor.msHelpText);
rItem.set_tooltip_text(rDeckDescriptor.msHelpText);
+ rItem.set_item_tooltip_text("toggle", rDeckDescriptor.msHelpText);
}
css::uno::Reference<css::graphic::XGraphic> TabBar::GetItemImage(const DeckDescriptor& rDeckDescriptor) const