mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Revert unwanted part
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26361 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9ebf6bf506
commit
0cd57df397
@ -259,6 +259,7 @@ void TocWidget::updateView()
|
|||||||
bool controls_enabled = toc_model && toc_model->rowCount() > 0
|
bool controls_enabled = toc_model && toc_model->rowCount() > 0
|
||||||
&& !gui_view_.buffer()->isReadonly();
|
&& !gui_view_.buffer()->isReadonly();
|
||||||
enableControls(controls_enabled);
|
enableControls(controls_enabled);
|
||||||
|
|
||||||
depthSL->setMaximum(gui_view_.tocModels().depth(current_type_));
|
depthSL->setMaximum(gui_view_.tocModels().depth(current_type_));
|
||||||
depthSL->setValue(depth_);
|
depthSL->setValue(depth_);
|
||||||
setTreeDepth(depth_);
|
setTreeDepth(depth_);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user