forgotten part of yesterday's patch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7500 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-08-05 06:30:42 +00:00
parent dba2b2f8a1
commit 7fa13a8b8f

View File

@ -760,10 +760,7 @@ void LyXText::partialRebreak()
// need the selection cursor: // need the selection cursor:
void LyXText::setSelection() void LyXText::setSelection()
{ {
bool const lsel = TextCursor::setSelection(); TextCursor::setSelection();
if (inset_owner && (selection.set() || lsel))
inset_owner->setUpdateStatus(InsetText::SELECTION);
} }
@ -849,8 +846,6 @@ void LyXText::toggleFree(LyXFont const & font, bool toggleall)
setCursor(cursor.par(), cursor.pos()); setCursor(cursor.par(), cursor.pos());
selection.cursor = cursor; selection.cursor = cursor;
} }
if (inset_owner)
inset_owner->setUpdateStatus(InsetText::CURSOR_PAR);
} }