From: Vincent van Ravesteijn Date: Sat, 26 Dec 2009 23:58:24 +0000 (+0000) Subject: Update the status bar when starting LyX (creating a new view) and when the last docum... X-Git-Tag: 2.0.0~4701 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9f1be444fafd8622a2d29900b528e97b6066ca76;p=lyx.git 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 --- 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.