]> git.lyx.org Git - features.git/commitdiff
GuiView: Moving updateStatusBar() out of updateDialogs() because this is no end of...
authorAbdelrazak Younes <younes@lyx.org>
Thu, 12 Jun 2008 16:00:36 +0000 (16:00 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 12 Jun 2008 16:00:36 +0000 (16:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25238 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp
src/frontends/qt4/GuiWorkArea.cpp

index 3ee10af27e3355b568bd8443259e97d30b3df517..df06f15bfc64096900c6c05f5e50285a136aebf2 100644 (file)
@@ -2064,6 +2064,7 @@ void GuiView::restartCursor()
 
        // Take this occasion to update the other GUI elements.
        updateDialogs();
+       updateStatusBar();
 }
 
 
@@ -2233,7 +2234,6 @@ void GuiView::updateDialogs()
        }
        updateToolbars();
        updateLayoutList();
-       updateStatusBar();
 }
 
 
index f1dd3b9d5164074b1b58cb1ae0462bfe0a031e67..7fafe934d5f9200eed01f1620958b69ccc71abfc 100644 (file)
@@ -464,6 +464,7 @@ void GuiWorkArea::dispatch(FuncRequest const & cmd0, KeyModifier mod)
        if (cmd.action != LFUN_MOUSE_MOTION) {
                completer_->updateVisibility(false, false);
                lyx_view_->updateDialogs();
+               lyx_view_->updateStatusBar();
        }
 
        // GUI tweaks except with mouse motion with no button pressed.