mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Fix bug #7709. Seems we need to reset the source model here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40310 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c64258aace
commit
936cee5b9f
@ -189,6 +189,7 @@ void TocModel::reset(Toc const & toc)
|
||||
}
|
||||
|
||||
model_->setHeaderData(0, Qt::Horizontal, QVariant("title"), Qt::DisplayRole);
|
||||
sorted_model_->setSourceModel(model_);
|
||||
if (is_sorted_)
|
||||
sorted_model_->sort(0);
|
||||
model_->blockSignals(false);
|
||||
|
@ -49,6 +49,8 @@ What's new
|
||||
|
||||
* USER INTERFACE
|
||||
|
||||
- Fixed crash when changing label when outliner is open and sorted (bug 7709).
|
||||
|
||||
- Update citation labels when the BibTeX file changes (bug 7499).
|
||||
|
||||
- Unify diplay of theorem headings (bug 7883).
|
||||
|
Loading…
Reference in New Issue
Block a user