summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2013-09-02 12:41:35 -0300
committerThomas Arnhold <thomas@arnhold.org>2013-09-02 20:04:28 +0000
commitfef9a991d4cf76dd3e1881bd42b45e6e013581b7 (patch)
tree9ff4fe0c02c04be2ddad7933fb42531a4fccd3b5 /starmath
parent8f6b90a80c7b6e1c19422e944ca49657581e1042 (diff)
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@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/edit.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 313614a77dea..9328f23ab5fa 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();
}
}