summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-06-11 19:53:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-06-12 20:03:15 +0200
commit866c08f92a78f36bbe66ed2126dbca3c4f3f36dc (patch)
tree6ff862cc94ef8838116499c61f83d028df55490b /include
parent7dadf3db348ea1e38be7f58697852f6d775bc710 (diff)
send deselect in hover-selection when in SelectionMode::Single mode
Change-Id: I89753455127fd23e60ef9fb489b2c435ff6800b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96166 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/treelistbox.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx
index 586686e81de1..ac24996221cc 100644
--- a/include/vcl/treelistbox.hxx
+++ b/include/vcl/treelistbox.hxx
@@ -726,6 +726,7 @@ public:
// Make mouse over a row "select" a row like a single-click normally does
void SetHoverSelection(bool bEnable) { mbHoverSelection = bEnable; }
+ bool GetHoverSelection() const { return mbHoverSelection; }
void SetForceMakeVisible(bool bEnable);