[Libreoffice-commits] core.git: chart2/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Apr 5 20:29:44 UTC 2020


 chart2/source/controller/dialogs/dlg_DataEditor.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit fc028b21a7576bd24d930f32e7d00e32e0e58b99
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Apr 5 19:49:21 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Apr 5 22:29:04 2020 +0200

    set focus in data browser by default
    
    Change-Id: Ided1c9be38db517cbae846fd4377bf5a34c6593d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91730
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/chart2/source/controller/dialogs/dlg_DataEditor.cxx b/chart2/source/controller/dialogs/dlg_DataEditor.cxx
index 5e7c939a2262..bc85e6c418b0 100644
--- a/chart2/source/controller/dialogs/dlg_DataEditor.cxx
+++ b/chart2/source/controller/dialogs/dlg_DataEditor.cxx
@@ -57,8 +57,7 @@ DataEditor::DataEditor(weld::Window* pParent,
     m_xBrwData->SetCursorMovedHdl( LINK( this, DataEditor, BrowserCursorMovedHdl ));
 
     m_xBrwData->SetDataFromModel( m_xChartDoc, m_xContext );
-//    m_xDialog->grab_focus();
-//    m_xBrwData->GrabFocus();
+    m_xBrwData->GrabFocus();
 
     bool bReadOnly = true;
     Reference< frame::XStorable > xStor( m_xChartDoc, uno::UNO_QUERY );


More information about the Libreoffice-commits mailing list