mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
fix critical part of http://bugzilla.lyx.org/show_bug.cgi?id=5082
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25966 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4ba5452012
commit
168a26b763
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user