summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-08-07 10:32:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-08-09 20:17:48 +0200
commita3a6ff25f5749207dbfae3d22ec5f2a3c8623d9a (patch)
treedd8c1803c68bff3b8bd37d7011c0df8cdeca252a /sw
parenta7c8c5f49af7ad8c1101a4c73dbe7a83b7ba8cb5 (diff)
block gen's focus in/out callbacks from grab_focus like gtk's
Change-Id: I6102022495f5ffe644b4aa2b71df2fcf4e0a7b6e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100299 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/inc/conttree.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/inc/conttree.hxx b/sw/source/uibase/inc/conttree.hxx
index 6f65b1984523..640bda8c2e6e 100644
--- a/sw/source/uibase/inc/conttree.hxx
+++ b/sw/source/uibase/inc/conttree.hxx
@@ -246,6 +246,7 @@ public:
void grab_focus()
{
m_xTreeView->grab_focus();
+ FocusHdl(*m_xTreeView);
}
OUString get_selected_text() const
@@ -341,6 +342,7 @@ public:
void grab_focus()
{
m_xTreeView->grab_focus();
+ FocusInHdl(*m_xTreeView);
}
int count_selected_rows() const