mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +00:00
Fix outliner tree depth (#13098)
This commit is contained in:
parent
9d9f13ff83
commit
f5306b7054
@ -501,7 +501,6 @@ void TocWidget::updateView()
|
||||
if (tocTV->model() != toc_model) {
|
||||
tocTV->setModel(toc_model);
|
||||
tocTV->setEditTriggers(QAbstractItemView::NoEditTriggers);
|
||||
if (persistent_)
|
||||
setTreeDepth(depth_);
|
||||
}
|
||||
|
||||
@ -709,7 +708,6 @@ void TocWidget::init(QString const & str)
|
||||
typeCO->setCurrentIndex(new_index);
|
||||
typeCO->blockSignals(false);
|
||||
updateViewNow();
|
||||
if (persistent_)
|
||||
setTreeDepth(depth_);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user