[Libreoffice-commits] core.git: sw/source
Jim Raykowski (via logerrit)
logerrit at kemper.freedesktop.org
Sat Feb 8 11:18:18 UTC 2020
sw/source/ui/table/tabledlg.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit 110a49b41c81759f25f96be627d45848de9264a5
Author: Jim Raykowski <raykowj at gmail..com>
AuthorDate: Wed Feb 5 21:55:18 2020 -0900
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Feb 8 12:17:44 2020 +0100
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 at redhat.com>
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)
More information about the Libreoffice-commits
mailing list