summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2016-09-14 13:52:38 +0200
committerAndras Timar <andras.timar@collabora.com>2016-09-14 13:52:38 +0200
commit6c4dfb6ca0727c6e5f9d561e496f448dffb4d87a (patch)
tree6683536fb0874340dbe4fcaf347f87f563e2ccb6
parent977a0ca8c388a51ad13d51681d28b9ed986f27fa (diff)
fix weird selection problem in desktop editeng
Change-Id: I78c68b5a79db816ea4d0bdf3d75dd1ba4c269106
-rw-r--r--editeng/source/editeng/editeng.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index bf2746cb283b..0902da32eecd 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -1351,7 +1351,10 @@ bool EditEngine::PostKeyEvent( const KeyEvent& rKeyEvent, EditView* pEditView, v
}
pEditView->pImpEditView->SetEditSelection( aCurSel );
- pEditView->pImpEditView->DrawSelection();
+ if (comphelper::LibreOfficeKit::isActive())
+ {
+ pEditView->pImpEditView->DrawSelection();
+ }
pImpEditEngine->UpdateSelections();
if ( ( !IsVertical() && ( nCode != KEY_UP ) && ( nCode != KEY_DOWN ) ) ||