]> git.lyx.org Git - features.git/commitdiff
Fix the worst part of http://bugzilla.lyx.org/show_bug.cgi?id=5409 .
authorPavel Sanda <sanda@lyx.org>
Mon, 27 Oct 2008 14:54:53 +0000 (14:54 +0000)
committerPavel Sanda <sanda@lyx.org>
Mon, 27 Oct 2008 14:54:53 +0000 (14:54 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27153 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/TocWidget.cpp

index 5c4e7d419d6824822ce4c98cd2dfab0990cf68e7..d3211f31a007185bcc2a9b43a0f8516d29b2a4e2 100644 (file)
@@ -65,6 +65,8 @@ TocWidget::TocWidget(GuiView & gui_view, QWidget * parent)
        // Make sure the buttons are disabled when first shown without a loaded
        // Buffer.
        enableControls(false);
+
+       init(QString());
 }