git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25966 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-07-29 10:33:02 +00:00
parent 4ba5452012
commit 168a26b763

View File

@ -61,6 +61,10 @@ TocWidget::TocWidget(GuiView & gui_view, QWidget * parent)
// The toc types combo won't change its model.
typeCO->setModel(gui_view_.tocModels().nameModel());
// Make sure the buttons are disabled when first shown without a loaded
// Buffer.
enableControls(false);
}