From 9f1be444fafd8622a2d29900b528e97b6066ca76 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sat, 26 Dec 2009 23:58:24 +0000 Subject: [PATCH] Update the status bar when starting LyX (creating a new view) and when the last document is closed. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32652 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 79a0acd40d..36b6b74224 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -369,6 +369,7 @@ GuiView::GuiView(int id) setAcceptDrops(true); statusBar()->setSizeGripEnabled(true); + updateStatusBar(); #if (QT_VERSION >= 0x040400) connect(&d.autosave_watcher_, SIGNAL(finished()), this, @@ -798,6 +799,7 @@ void GuiView::on_lastWorkAreaRemoved() updateDialogs(); resetWindowTitleAndIconText(); + updateStatusBar(); if (lyxrc.open_buffers_in_tabs) // Nothing more to do, the window should stay open. -- 2.39.5