]> git.lyx.org Git - features.git/blobdiff - src/lyxfunc.C
Patches from Angus, Baruch, Dekel (2), and some glue from me.
[features.git] / src / lyxfunc.C
index 97d237899082a3096501d5fb34c053c430547e52..f84201f8b302da067db32efd45a67ef47bc8da09 100644 (file)
@@ -2895,6 +2895,8 @@ string const LyXFunc::Dispatch(int ac,
                owner->view()->text->sel_cursor = 
                        owner->view()->text->cursor;
                moveCursorUpdate(false);
+               owner->showState(); // current_font.number can change
+                                   // so we need to update the minibuffer
        }
        break;
 
@@ -3030,6 +3032,8 @@ string const LyXFunc::Dispatch(int ac,
                        owner->view()->text->sel_cursor = 
                                owner->view()->text->cursor;
                        moveCursorUpdate(false);
+                       owner->showState(); // current_font.number can change
+                                           // so we need to update the minibuffer
                        return string();
                } else {
                        // why is an "Unknown action" with empty