mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 00:38:01 +00:00
Squash bug 803 for Qt and 1.4.x.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8740 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f557f14c69
commit
137af8fc0c
@ -1,3 +1,8 @@
|
||||
2004-05-05 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* QRef.C (redoRefs): Prevent widgets from emitting any signals
|
||||
whilst we modify their state.
|
||||
|
||||
2004-05-04 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* Dialogs.C: Remove "error" dialog identifier.
|
||||
|
@ -163,6 +163,11 @@ void QRef::gotoRef()
|
||||
|
||||
void QRef::redoRefs()
|
||||
{
|
||||
// Prevent these widgets from emitting any signals whilst
|
||||
// we modify their state.
|
||||
dialog_->refsLB->blockSignals(true);
|
||||
dialog_->referenceED->blockSignals(true);
|
||||
|
||||
int lastref = dialog_->refsLB->currentItem();
|
||||
|
||||
dialog_->refsLB->setAutoUpdate(false);
|
||||
@ -194,6 +199,10 @@ void QRef::redoRefs()
|
||||
|
||||
dialog_->refsLB->setAutoUpdate(true);
|
||||
dialog_->refsLB->update();
|
||||
|
||||
// Re-activate the emission of signals by these widgets.
|
||||
dialog_->refsLB->blockSignals(false);
|
||||
dialog_->referenceED->blockSignals(false);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user