mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +00:00
added mutexes
This commit is contained in:
parent
22542a81b6
commit
5ace021e41
14 changed files with 112 additions and 21 deletions
|
|
@ -939,6 +939,8 @@ void AppWindow::StartManualControl()
|
|||
|
||||
void AppWindow::UpdateReferenceToolbar()
|
||||
{
|
||||
toolbars.reference.type->blockSignals(true);
|
||||
toolbars.reference.outFreq->blockSignals(true);
|
||||
if(!vdevice || !vdevice->getInfo().supportsExtRef) {
|
||||
toolbars.reference.type->setEnabled(false);
|
||||
toolbars.reference.outFreq->setEnabled(false);
|
||||
|
|
@ -968,6 +970,9 @@ void AppWindow::UpdateReferenceToolbar()
|
|||
} else {
|
||||
toolbars.reference.outFreq->setCurrentIndex(0);
|
||||
}
|
||||
toolbars.reference.type->blockSignals(false);
|
||||
toolbars.reference.outFreq->blockSignals(false);
|
||||
UpdateReference();
|
||||
}
|
||||
|
||||
void AppWindow::UpdateReference()
|
||||
|
|
@ -1046,7 +1051,6 @@ void AppWindow::DeviceInfoUpdated()
|
|||
modeHandler->getActiveMode()->initializeDevice();
|
||||
}
|
||||
UpdateReferenceToolbar();
|
||||
UpdateReference();
|
||||
}
|
||||
|
||||
void AppWindow::SourceCalibrationDialog()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue