From f48ccf964140f8f02932bf24c6ea850910667590 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 15 Aug 2003 13:20:45 +0000 Subject: [PATCH] re-enable DEPM for setCursorFromCoordinate git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7556 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/text2.C | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/text2.C b/src/text2.C index 74219602a0..681a8eaec7 100644 --- a/src/text2.C +++ b/src/text2.C @@ -1630,11 +1630,10 @@ pos_type LyXText::getColumnNearX(ParagraphList::iterator pit, void LyXText::setCursorFromCoordinates(int x, int y) { - //LyXCursor old_cursor = cursor; + LyXCursor old_cursor = cursor; setCursorFromCoordinates(cursor, x, y); setCurrentFont(); -#warning DEPM disabled, otherwise crash when entering new table - //deleteEmptyParagraphMechanism(old_cursor); + deleteEmptyParagraphMechanism(old_cursor); } -- 2.39.2