diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 838e1711ac..05158ec5ea 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,4 +1,8 @@ -<<<<<<< ChangeLog +2005-02-12 Jürgen Spitzmüller + + * math_nestinset.C (doDispatch): normalize() cursor after moving up/down + (fixes assert and bug 1598). + 2005-02-09 Martin Vermeer * math_gridinset.[hC]: add facilities for drawing/deleting partition diff --git a/src/mathed/math_nestinset.C b/src/mathed/math_nestinset.C index e789659696..9c992cfaee 100644 --- a/src/mathed/math_nestinset.C +++ b/src/mathed/math_nestinset.C @@ -509,6 +509,8 @@ void MathNestInset::doDispatch(LCursor & cur, FuncRequest & cmd) cur.selHandle(cmd.action == LFUN_UPSEL); if (!cur.up()) cmd = FuncRequest(LFUN_FINISHED_UP); + // fixes bug 1598. Please check! + cur.normalize(); break; case LFUN_DOWNSEL: @@ -516,6 +518,8 @@ void MathNestInset::doDispatch(LCursor & cur, FuncRequest & cmd) cur.selHandle(cmd.action == LFUN_DOWNSEL); if (!cur.down()) cmd = FuncRequest(LFUN_FINISHED_DOWN); + // fixes bug 1598. Please check! + cur.normalize(); break; case LFUN_MOUSE_DOUBLE: