mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Outliner: Fix synchronous navigation for all types.
* GuiToc::currentIndex(): remove FIXME git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23016 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d8ee26ec6c
commit
17efe15322
@ -96,12 +96,6 @@ QModelIndex GuiToc::currentIndex(int type) const
|
||||
if (type < 0)
|
||||
return QModelIndex();
|
||||
|
||||
// FIXME: The TocBackend infrastructure is not ready for LOF and LOT
|
||||
// This is because a proper ParConstIterator is not constructed in
|
||||
// InsetCaption::addToToc()
|
||||
if(!canOutline(type))
|
||||
return QModelIndex();
|
||||
|
||||
return toc_models_[type]->modelIndex(currentTocItem(type));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user