From: Richard Heck Date: Fri, 26 Feb 2010 19:56:08 +0000 (+0000) Subject: We were doing this twice, and I think there's also a bug here, namely, X-Git-Tag: 2.0.0~3939 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=390679237877a63ad20fafcafcb328d2a80659c7;p=lyx.git We were doing this twice, and I think there's also a bug here, namely, 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 --- diff --git a/src/frontends/qt4/TocWidget.cpp b/src/frontends/qt4/TocWidget.cpp index 98349629f4..5cf82a9c34 100644 --- a/src/frontends/qt4/TocWidget.cpp +++ b/src/frontends/qt4/TocWidget.cpp @@ -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;