mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +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:
|
// 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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user