Is there a place that I can order the book "lyx developer's handbook
vol:1 :101 ways o write svn logs" :-)

On 5/15/07, Abdelrazak Younes <[EMAIL PROTECTED]> wrote:
Ozgur Ugras BARAN wrote:
> This small patch prevents LOF, LOT always selects the last entry.
> LOT/LOF still does not follow the cursor, yet, but for this, we need
> serious update in TocBackend.
>
> Do you think this solves bug 3183?
>
> Hopefully, last patch for toc stuff.
>
> here is svn log message:
>
> * src/frontends/qt4/TocWidget.cpp:
>    -Do not allow select ModelItem from the code for non-TOC types

Next time something like this would be more informative:
* TocWidget::select()
     - Do not allow select ModelItem from the code for non-TOC types

I know, we are pricky :-)

Abdel.


>
>
> ------------------------------------------------------------------------
>
> Index: frontends/qt4/TocWidget.cpp
> ===================================================================
> --- frontends/qt4/TocWidget.cpp       (revision 18311)
> +++ frontends/qt4/TocWidget.cpp       (working copy)
> @@ -204,6 +204,8 @@
>                       << "TocWidget::select(): QModelIndex is invalid!" << 
endl;
>               return;
>       }
> +     if(!form_->canOutline(typeCO->currentIndex()))
> +             return;
>
>       tocTV->selectionModel()->blockSignals(true);
>       tocTV->selectionModel()->clear();


Reply via email to