mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
always close properly undo groups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33129 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4ebc0c071e
commit
943a39b1e2
@ -336,8 +336,10 @@ void Cursor::dispatch(FuncRequest const & cmd0)
|
||||
LYXERR(Debug::DEBUG, "Cursor::dispatch: (AtPoint) cmd: "
|
||||
<< cmd0 << endl << *this);
|
||||
nextInset()->dispatch(*this, tmpcmd);
|
||||
if (result().dispatched())
|
||||
if (result().dispatched()) {
|
||||
buffer()->undo().endUndoGroup();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// store some values to be used inside of the handlers
|
||||
|
Loading…
Reference in New Issue
Block a user