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
This commit is contained in:
Abdelrazak Younes 2007-01-18 21:06:49 +00:00
parent 77b9dbd557
commit fce2821c44

View File

@ -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());