mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
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:
parent
77b9dbd557
commit
fce2821c44
@ -218,8 +218,6 @@ void QRef::redoRefs()
|
|||||||
void QRef::updateRefs()
|
void QRef::updateRefs()
|
||||||
{
|
{
|
||||||
refs_.clear();
|
refs_.clear();
|
||||||
if (at_ref_)
|
|
||||||
gotoRef();
|
|
||||||
string const name = controller().getBufferName(dialog_->bufferCO->currentIndex());
|
string const name = controller().getBufferName(dialog_->bufferCO->currentIndex());
|
||||||
refs_ = controller().getLabelList(name);
|
refs_ = controller().getLabelList(name);
|
||||||
dialog_->sortCB->setEnabled(!refs_.empty());
|
dialog_->sortCB->setEnabled(!refs_.empty());
|
||||||
|
Loading…
Reference in New Issue
Block a user