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
This commit is contained in:
Vincent van Ravesteijn 2009-12-26 23:58:24 +00:00
parent 6675847986
commit 9f1be444fa

View File

@ -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.