On Wednesday 05 May 2004 10:57 am, John Levon wrote:
> On Wed, May 05, 2004 at 08:56:53AM +0100, Angus Leeming wrote:
> > Emitted signals disappear into hyperspace if signals are blocked.
> > Note
>
> Are you positive this won't cause problems elsewhere? (timers etc.)

No, I admit I hadn't thought of that. However, there are no timers 
connected to QRefDialogBase::refsLB, referenceED are there?

Angus

void QRef::redoRefs()
{
        // Prevent these widgets from emitting any signals whilst
        // we modify their state.
        dialog_->refsLB->blockSignals(true);
        dialog_->referenceED->blockSignals(true);

        ...

         // Re-activate the emission of signals by these widgets.
        dialog_->refsLB->blockSignals(false);
        dialog_->referenceED->blockSignals(false);
}

Reply via email to