mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-26 18:07:18 +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->setCurrentIndex(new_index);
|
||||||
typeCO->blockSignals(false);
|
typeCO->blockSignals(false);
|
||||||
updateViewNow();
|
updateViewNow();
|
||||||
|
if (persistent_)
|
||||||
|
setTreeDepth(depth_);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace frontend
|
} // namespace frontend
|
||||||
|
Loading…
x
Reference in New Issue
Block a user