From 28b77e4f726ff863f38f3aedf85602aef47a24cf Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 12 Jun 2008 16:00:36 +0000 Subject: [PATCH] GuiView: Moving updateStatusBar() out of updateDialogs() because this is no end of trouble WRT recursive paintings. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25238 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiView.cpp | 2 +- src/frontends/qt4/GuiWorkArea.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 3ee10af27e..df06f15bfc 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -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(); } diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index f1dd3b9d51..7fafe934d5 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -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. -- 2.39.2