]> git.lyx.org Git - features.git/commitdiff
Update the status bar when starting LyX (creating a new view) and when the last docum...
authorVincent van Ravesteijn <vfr@lyx.org>
Sat, 26 Dec 2009 23:58:24 +0000 (23:58 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sat, 26 Dec 2009 23:58:24 +0000 (23:58 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32652 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiView.cpp

index 79a0acd40dcb96a7082a7b22793af93be90ca908..36b6b74224714f323c1a37c54e8f42e45728f24a 100644 (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.