starmath/source/edit.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit fef9a991d4cf76dd3e1881bd42b45e6e013581b7
Author: Marcos Paulo de Souza <[email protected]>
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 <[email protected]>
Tested-by: Thomas Arnhold <[email protected]>
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();
}
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits