mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
dba2b2f8a1
commit
7fa13a8b8f
@ -760,10 +760,7 @@ void LyXText::partialRebreak()
|
||||
// need the selection cursor:
|
||||
void LyXText::setSelection()
|
||||
{
|
||||
bool const lsel = TextCursor::setSelection();
|
||||
|
||||
if (inset_owner && (selection.set() || lsel))
|
||||
inset_owner->setUpdateStatus(InsetText::SELECTION);
|
||||
TextCursor::setSelection();
|
||||
}
|
||||
|
||||
|
||||
@ -849,8 +846,6 @@ void LyXText::toggleFree(LyXFont const & font, bool toggleall)
|
||||
setCursor(cursor.par(), cursor.pos());
|
||||
selection.cursor = cursor;
|
||||
}
|
||||
if (inset_owner)
|
||||
inset_owner->setUpdateStatus(InsetText::CURSOR_PAR);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user