From 110a49b41c81759f25f96be627d45848de9264a5 Mon Sep 17 00:00:00 2001 From: Jim Raykowski Date: Wed, 5 Feb 2020 21:55:18 -0900 Subject: tdf#130475 Remove mysterious grab focus MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- sw/source/ui/table/tabledlg.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'sw/source') 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) -- cgit