From: Abdelrazak Younes Date: Thu, 18 Jan 2007 21:06:49 +0000 (+0000) Subject: Fix bug 3063, the problem was a recursive call to QRef::gotoRef() (which indirectly... X-Git-Tag: 1.6.10~11143 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fce2821c4468cd5a4b4e005859f4dae37a04e8c3;p=features.git Fix bug 3063, the problem was a recursive call to QRef::gotoRef() (which indirectly call QRef::updateRefs() which called gotoRef(), etc). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16754 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/QRef.C b/src/frontends/qt4/QRef.C index 17495ca176..25e67180ec 100644 --- a/src/frontends/qt4/QRef.C +++ b/src/frontends/qt4/QRef.C @@ -218,8 +218,6 @@ void QRef::redoRefs() void QRef::updateRefs() { refs_.clear(); - if (at_ref_) - gotoRef(); string const name = controller().getBufferName(dialog_->bufferCO->currentIndex()); refs_ = controller().getLabelList(name); dialog_->sortCB->setEnabled(!refs_.empty());