mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-04 23:14:53 -04:00
Assure Gain control <==> Settings menu synchronization in case of mutually depdendent updates
This commit is contained in:
@@ -395,7 +395,8 @@ void SDRDevicesDialog::OnUseSelected( wxMouseEvent& event) {
|
||||
wxGetApp().setDeviceArgs(settingArgs);
|
||||
wxGetApp().setStreamArgs(streamArgs);
|
||||
wxGetApp().setDevice(dev,0);
|
||||
wxGetApp().notifyMainUIOfDeviceChange();
|
||||
wxGetApp().notifyMainUIOfDeviceChange(true);
|
||||
Refresh();
|
||||
Close();
|
||||
}
|
||||
event.Skip();
|
||||
@@ -570,13 +571,13 @@ void SDRDevicesDialog::OnPropGridChanged( wxPropertyGridEvent& event ) {
|
||||
wxGetApp().getSDRThread()->writeSetting(rtp->first, settingValue);
|
||||
}
|
||||
|
||||
wxGetApp().notifyMainUIOfDeviceChange();
|
||||
wxGetApp().notifyMainUIOfDeviceChange(true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
// general refresh.
|
||||
wxGetApp().notifyMainUIOfDeviceChange();
|
||||
wxGetApp().notifyMainUIOfDeviceChange(true);
|
||||
}
|
||||
|
||||
void SDRDevicesDialog::OnPropGridFocus( wxFocusEvent& /* event */) {
|
||||
|
||||
Reference in New Issue
Block a user