From: Abdelrazak Younes Date: Tue, 17 Jun 2008 15:49:14 +0000 (+0000) Subject: move a loc to where it's useful. X-Git-Tag: 1.6.10~4358 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=cd877a391930307e4a2a16f8289a1bc83ce6ce53;p=features.git move a loc to where it's useful. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25293 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/TocWidget.cpp b/src/frontends/qt4/TocWidget.cpp index daa77370a7..9aa2c07b78 100644 --- a/src/frontends/qt4/TocWidget.cpp +++ b/src/frontends/qt4/TocWidget.cpp @@ -267,8 +267,6 @@ static QString decodeType(QString const & str) void TocWidget::init(QString const & str) { - typeCO->blockSignals(true); - int new_index; if (str.isEmpty()) new_index = typeCO->findData(current_type_); @@ -282,6 +280,7 @@ void TocWidget::init(QString const & str) new_index = typeCO->findData(current_type_); } + typeCO->blockSignals(true); typeCO->setCurrentIndex(new_index); typeCO->blockSignals(false); }