From 194f14bf6510dc7c3e569405b08fc015e2b17678 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Mon, 27 Oct 2008 14:54:53 +0000 Subject: [PATCH] Fix the worst part of http://bugzilla.lyx.org/show_bug.cgi?id=5409 . git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27153 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/TocWidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/qt4/TocWidget.cpp b/src/frontends/qt4/TocWidget.cpp index 5c4e7d419d..d3211f31a0 100644 --- a/src/frontends/qt4/TocWidget.cpp +++ b/src/frontends/qt4/TocWidget.cpp @@ -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()); } -- 2.39.2