mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
GuiToc: set the object name for proper state restoration.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25206 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4241db7c0d
commit
5e6a1a3da8
@ -35,6 +35,7 @@ namespace frontend {
|
|||||||
GuiToc::GuiToc(GuiView & parent, Qt::DockWidgetArea area, Qt::WindowFlags flags)
|
GuiToc::GuiToc(GuiView & parent, Qt::DockWidgetArea area, Qt::WindowFlags flags)
|
||||||
: DockView(parent, "toc", qt_("Outline"), area, flags)
|
: DockView(parent, "toc", qt_("Outline"), area, flags)
|
||||||
{
|
{
|
||||||
|
setObjectName("toc");
|
||||||
widget_ = new TocWidget(parent, this);
|
widget_ = new TocWidget(parent, this);
|
||||||
setWidget(widget_);
|
setWidget(widget_);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user