summaryrefslogtreecommitdiff
path: root/starmath/source/edit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/edit.cxx')
-rw-r--r--starmath/source/edit.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index e8e79a24e12c..939fe311138b 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -342,7 +342,9 @@ bool SmEditTextWindow::KeyInput(const KeyEvent& rKEvt)
if (!bConsumed)
{
SmViewShell *pView = mrEditWindow.GetView();
- if ( pView && !pView->KeyInput(rKEvt) )
+ if (pView)
+ bConsumed = pView->KeyInput(rKEvt);
+ if (pView && !bConsumed)
{
// F1 (help) leads to the destruction of this
Flush();