]> git.lyx.org Git - lyx.git/commitdiff
We were doing this twice, and I think there's also a bug here, namely,
authorRichard Heck <rgheck@comcast.net>
Fri, 26 Feb 2010 19:56:08 +0000 (19:56 +0000)
committerRichard Heck <rgheck@comcast.net>
Fri, 26 Feb 2010 19:56:08 +0000 (19:56 +0000)
that we weren't re-enabling if we returned early.

Someone tell me if this is wrong.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33585 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/TocWidget.cpp

index 98349629f4a7861c5c3fbb5fa937a765e4f26c34..5cf82a9c3453801a84cc3817d22ef83c25119615 100644 (file)
@@ -321,7 +321,6 @@ void TocWidget::on_typeCO_currentIndexChanged(int index)
 
 void TocWidget::outline(FuncCode func_code)
 {
-       enableControls(false);
        QModelIndexList const & list = tocTV->selectionModel()->selectedIndexes();
        if (list.isEmpty())
                return;