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

Marcos Paulo de Souza marcos.souza.org at gmail.com
Mon Sep 2 13:04:47 PDT 2013


 starmath/source/edit.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit fef9a991d4cf76dd3e1881bd42b45e6e013581b7
Author: Marcos Paulo de Souza <marcos.souza.org at gmail.com>
Date:   Mon Sep 2 12:41:35 2013 -0300

    Math: fix focus in Elements Dock
    
    When click in Elements Dock, we need to put focus in formula edit. Elements window do
    this, so this needs to be done in Elements Dock too.
    
    Change-Id: I8265d85fcf997344d8269345260499b3690521cb
    Reviewed-on: https://gerrit.libreoffice.org/5760
    Reviewed-by: Thomas Arnhold <thomas at arnhold.org>
    Tested-by: Thomas Arnhold <thomas at arnhold.org>

diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 313614a..9328f23 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -1029,6 +1029,7 @@ void SmEditWindow::InsertText(const OUString& rText)
             pEditView->InsertText(rText);
         aModifyTimer.Start();
         StartCursorMove();
+        GrabFocus();
     }
 }
 


More information about the Libreoffice-commits mailing list