]> git.lyx.org Git - lyx.git/commitdiff
GuiToc: set the object name for proper state restoration.
authorAbdelrazak Younes <younes@lyx.org>
Mon, 9 Jun 2008 12:54:14 +0000 (12:54 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 9 Jun 2008 12:54:14 +0000 (12:54 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25206 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiToc.cpp

index 268f373313daa41359548acd7a4cc04b4d2f46da..4b30e572ec4a96e6dd78f99581121219c9b931cd 100644 (file)
@@ -35,6 +35,7 @@ namespace frontend {
 GuiToc::GuiToc(GuiView & parent, Qt::DockWidgetArea area, Qt::WindowFlags flags)
        : DockView(parent, "toc", qt_("Outline"), area, flags)
 {
+       setObjectName("toc");
        widget_ = new TocWidget(parent, this);
        setWidget(widget_);
 }