]> git.lyx.org Git - features.git/commitdiff
Revert unintentionally committed change.
authorAbdelrazak Younes <younes@lyx.org>
Fri, 21 Sep 2007 20:57:00 +0000 (20:57 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 21 Sep 2007 20:57:00 +0000 (20:57 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20421 a592a061-630c-0410-9148-cb99ea01b6c8

src/Text3.cpp

index 75ff5a018d52e6656cc3941d0f47be2fb97e7fe9..3da55c9caabcc8b3074919f378b94512a6fb2cb1 100644 (file)
@@ -385,8 +385,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
                                && cur.boundary() == oldBoundary) {
                        cur.undispatched();
                        cmd = FuncRequest(LFUN_FINISHED_RIGHT);
-               } else
-                       cur.setCurrentFont();
+               }
                break;
 
        case LFUN_CHAR_BACKWARD:
@@ -402,8 +401,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
                        && cur.boundary() == oldBoundary) {
                        cur.undispatched();
                        cmd = FuncRequest(LFUN_FINISHED_LEFT);
-               } else
-                       cur.setCurrentFont();
+               }
                break;
 
        case LFUN_UP_SELECT: