From 390679237877a63ad20fafcafcb328d2a80659c7 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Fri, 26 Feb 2010 19:56:08 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/TocWidget.cpp | 1 - 1 file changed, 1 deletion(-) 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; -- 2.39.2