diff --git a/src/frontends/qt/TocWidget.cpp b/src/frontends/qt/TocWidget.cpp index 7d0de63336..03d870a5f4 100644 --- a/src/frontends/qt/TocWidget.cpp +++ b/src/frontends/qt/TocWidget.cpp @@ -614,6 +614,8 @@ void TocWidget::init(QString const & str) typeCO->setCurrentIndex(new_index); typeCO->blockSignals(false); updateViewNow(); + if (persistent_) + setTreeDepth(depth_); } } // namespace frontend