mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 10:40:48 +00:00
Fix outliner tree depth (#13098)
This commit is contained in:
parent
0a2e65c0e1
commit
5cb9b55162
BIN
po/pt_BR.gmo
BIN
po/pt_BR.gmo
Binary file not shown.
BIN
po/zh_CN.gmo
BIN
po/zh_CN.gmo
Binary file not shown.
@ -487,8 +487,7 @@ 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_);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sortCB->blockSignals(true);
|
sortCB->blockSignals(true);
|
||||||
@ -695,8 +694,7 @@ 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_);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace frontend
|
} // namespace frontend
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user