mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Properly reset tree depth in outliner with keep when outliner is re-filled
Fixes a 13 year old bug (#6675)
This commit is contained in:
parent
08fc56486e
commit
41d95a45d9
@ -614,6 +614,8 @@ void TocWidget::init(QString const & str)
|
||||
typeCO->setCurrentIndex(new_index);
|
||||
typeCO->blockSignals(false);
|
||||
updateViewNow();
|
||||
if (persistent_)
|
||||
setTreeDepth(depth_);
|
||||
}
|
||||
|
||||
} // namespace frontend
|
||||
|
Loading…
Reference in New Issue
Block a user