mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-13 03:40:34 +00:00
Port change at 19867 by Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20222 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5f24e6cc63
commit
99f97be8f4
@ -218,7 +218,7 @@ void WorkArea::dispatch(FuncRequest const & cmd0, key_modifier::state k)
|
||||
bool const needRedraw = buffer_view_->workAreaDispatch(cmd);
|
||||
|
||||
if (needRedraw)
|
||||
redraw();
|
||||
buffer_view_->buffer()->changed();
|
||||
|
||||
// Skip these when selecting
|
||||
if (cmd.action != LFUN_MOUSE_MOTION) {
|
||||
|
@ -441,10 +441,6 @@ void InsetCollapsable::setStatus(Cursor & cur, CollapseStatus status)
|
||||
setButtonLabel();
|
||||
if (status_ == Collapsed)
|
||||
cur.leaveInset(*this);
|
||||
// Because the collapse status is part of the inset and thus an
|
||||
// integral part of the Buffer contents a changed status must be
|
||||
// signaled to all views of current buffer.
|
||||
cur.bv().buffer()->changed();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user