* TocWidget::select()
- Do not allow select ModelItem from the code for non-TOC types
- add a FIXME explaining the situation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18348
a592a061-630c-0410-9148-
cb99ea01b6c8
return;
}
+ // FIXME: The TocBackend infrastructure is not ready for LOF and LOT
+ // This is because a proper ParConstIterator is not constructed in
+ // InsetCaption::addToToc()
+ if(!form_->canOutline(typeCO->currentIndex()))
+ return;
+
disconnectSelectionModel();
tocTV->setCurrentIndex(index);
tocTV->scrollTo(index);