mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
alfredo's undo fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6735 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d28efb5543
commit
ef33e52de9
@ -1,3 +1,8 @@
|
|||||||
|
2003-04-08 Alfredo Braunstein <abraunst@libero.it>
|
||||||
|
|
||||||
|
* text2.C (changeDepth): do not setUndo on test_only (make undo work
|
||||||
|
again)
|
||||||
|
|
||||||
2003-04-05 Alfredo Braunstein <abraunst@libero.it>
|
2003-04-05 Alfredo Braunstein <abraunst@libero.it>
|
||||||
|
|
||||||
* lyxfind.C (searchForward, searchBackwards): bug 782
|
* lyxfind.C (searchForward, searchBackwards): bug 782
|
||||||
|
@ -467,7 +467,8 @@ bool LyXText::changeDepth(bv_funcs::DEPTH_CHANGE type, bool test_only)
|
|||||||
|
|
||||||
ParagraphList::iterator pastend = end;
|
ParagraphList::iterator pastend = end;
|
||||||
++pastend;
|
++pastend;
|
||||||
setUndo(bv(), Undo::EDIT, &(*start), &(*pastend));
|
if (!test_only)
|
||||||
|
setUndo(bv(), Undo::EDIT, &(*start), &(*pastend));
|
||||||
|
|
||||||
bool changed = false;
|
bool changed = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user