mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-07 23:43:42 +00:00
vna/mode/app/sa: refactor plot update colors
This commit is contained in:
parent
794f55f1fb
commit
423585845e
7 changed files with 11 additions and 31 deletions
|
|
@ -184,14 +184,9 @@ AppWindow::AppWindow(QWidget *parent)
|
|||
StartTCPServer(p.SCPIServer.port);
|
||||
}
|
||||
}
|
||||
auto active = Mode::getActiveMode();
|
||||
|
||||
if(active == spectrumAnalyzer) {
|
||||
spectrumAnalyzer->updateGraphColors();
|
||||
}
|
||||
else if (active == vna) {
|
||||
vna->updateGraphColors();
|
||||
}
|
||||
auto active = Mode::getActiveMode();
|
||||
active->updateGraphColors();
|
||||
|
||||
// averaging mode may have changed, update for all relevant modes
|
||||
if(p.Acquisition.useMedianAveraging) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue