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:
Richard Heck 2007-09-11 20:38:25 +00:00
parent 5f24e6cc63
commit 99f97be8f4
2 changed files with 1 additions and 5 deletions

View File

@ -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) {

View File

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