summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail..com>2020-02-05 21:55:18 -0900
committerCaolán McNamara <caolanm@redhat.com>2020-02-08 12:17:44 +0100
commit110a49b41c81759f25f96be627d45848de9264a5 (patch)
tree01c13bf3a18f55c15ba2b2549cbc9b3b093b9fd5
parent4ffbb6543111a236e9724dd9a3b292584be9e869 (diff)
tdf#130475 Remove mysterious grab focus
Grabing focus at this location in SwFormatTablePage::DeactivatePage prevents adjacent tab pages from keeping focus on their tab when keyboard navigating the dialog. Change-Id: Ie90722572569ac0cd5251682a19727c91e2a326d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88162 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sw/source/ui/table/tabledlg.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx
index 31aaae86a5f8..fcf8f5490a2e 100644
--- a/sw/source/ui/table/tabledlg.cxx
+++ b/sw/source/ui/table/tabledlg.cxx
@@ -581,9 +581,6 @@ void SwFormatTablePage::ActivatePage( const SfxItemSet& rSet )
DeactivateRC SwFormatTablePage::DeactivatePage( SfxItemSet* _pSet )
{
- //os: VCL doesn't take care of making the active widget
- //in the dialog lose the focus
- m_xNameED->grab_focus();
//test the table name for spaces
OUString sTableName = m_xNameED->get_text();
if(sTableName.indexOf(' ') != -1)