mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
* TocWidget: whitespace only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28024 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2a4a108e60
commit
72dc5352dd
@ -272,7 +272,8 @@ void TocWidget::updateView()
|
|||||||
if (tocTV->model() != toc_model) {
|
if (tocTV->model() != toc_model) {
|
||||||
tocTV->setModel(toc_model);
|
tocTV->setModel(toc_model);
|
||||||
tocTV->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
tocTV->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||||
if (persistent_) setTreeDepth(depth_);
|
if (persistent_)
|
||||||
|
setTreeDepth(depth_);
|
||||||
}
|
}
|
||||||
|
|
||||||
sortCB->blockSignals(true);
|
sortCB->blockSignals(true);
|
||||||
@ -287,7 +288,8 @@ void TocWidget::updateView()
|
|||||||
|
|
||||||
depthSL->setMaximum(gui_view_.tocModels().depth(current_type_));
|
depthSL->setMaximum(gui_view_.tocModels().depth(current_type_));
|
||||||
depthSL->setValue(depth_);
|
depthSL->setValue(depth_);
|
||||||
if (!persistent_) setTreeDepth(depth_);
|
if (!persistent_)
|
||||||
|
setTreeDepth(depth_);
|
||||||
if (canNavigate(current_type_))
|
if (canNavigate(current_type_))
|
||||||
select(gui_view_.tocModels().currentIndex(current_type_));
|
select(gui_view_.tocModels().currentIndex(current_type_));
|
||||||
tocTV->setEnabled(true);
|
tocTV->setEnabled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user