Fix outliner tree depth (#13098)

This commit is contained in:
Juergen Spitzmueller 2024-09-19 10:00:39 +02:00 committed by Richard Kimberly Heck
parent 0a2e65c0e1
commit 5cb9b55162
6 changed files with 4 additions and 4 deletions

BIN
po/cs.gmo

Binary file not shown.

Binary file not shown.

BIN
po/sk.gmo

Binary file not shown.

Binary file not shown.

View File

@ -487,7 +487,6 @@ 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_); setTreeDepth(depth_);
} }
@ -695,7 +694,6 @@ void TocWidget::init(QString const & str)
typeCO->setCurrentIndex(new_index); typeCO->setCurrentIndex(new_index);
typeCO->blockSignals(false); typeCO->blockSignals(false);
updateViewNow(); updateViewNow();
if (persistent_)
setTreeDepth(depth_); setTreeDepth(depth_);
} }

View File

@ -62,6 +62,8 @@ What's new
- Fix macOS bug, where XQuartz application would be launched for no - Fix macOS bug, where XQuartz application would be launched for no
reason (bug #13086). reason (bug #13086).
- Fix problem with collapsing of outliner (bug 13098).
* DOCUMENTATION AND LOCALIZATION * DOCUMENTATION AND LOCALIZATION