summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-22 16:19:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-10-22 21:40:20 +0200
commitcfadad134c6ab00a406a527e838d2e4940d337eb (patch)
tree77af9b1f99054aa58ed6ee14e4937ccac46c2973 /include/sfx2
parent32f35ba5f01c580016e327a3fcceb88cb07164ed (diff)
if nothing selected, don't select something on gaining focus
which is how this traditionally worked before commit fd2ea8e03510c6a99ec8be6228b7422f6c5b182b Author: Caolán McNamara <caolanm@redhat.com> Date: Wed Aug 19 14:59:33 2020 +0100 weld OApplicationSwapWindow Change-Id: Ib844f903bf160eb7a58c2860e41b0b7acf4aa783 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104688 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/thumbnailview.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx
index f38b41c8b4b2..d320bda21155 100644
--- a/include/sfx2/thumbnailview.hxx
+++ b/include/sfx2/thumbnailview.hxx
@@ -325,6 +325,7 @@ protected:
bool mbShowTooltips : 1;
bool mbDrawMnemonics : 1;
bool mbIsMultiSelectionEnabled: 1;
+ bool mbSelectOnFocus : 1;
Color maFillColor; ///< Background color of the thumbnail view widget.
Color maTextColor; ///< Text color.
Color maHighlightColor; ///< Color of the highlight (background) of the hovered item.