re-enable DEPM for setCursorFromCoordinate

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7556 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-08-15 13:20:45 +00:00
parent 43637efd25
commit f48ccf9641

View File

@ -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);
}