mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 06:25:16 +00:00
Customizable graph colors
This commit is contained in:
parent
978ac89aa9
commit
74e068d8d1
22 changed files with 266 additions and 97 deletions
|
|
@ -184,6 +184,7 @@ SpectrumAnalyzer::SpectrumAnalyzer(AppWindow *window)
|
|||
qRegisterMetaType<Protocol::SpectrumAnalyzerResult>("SpectrumResult");
|
||||
|
||||
// Set initial sweep settings
|
||||
auto pref = Preferences::getInstance();
|
||||
if(pref.Startup.RememberSweepSettings) {
|
||||
LoadSweepSettings();
|
||||
} else {
|
||||
|
|
@ -364,6 +365,7 @@ void SpectrumAnalyzer::ConstrainAndUpdateFrequencies()
|
|||
void SpectrumAnalyzer::LoadSweepSettings()
|
||||
{
|
||||
QSettings s;
|
||||
auto pref = Preferences::getInstance();
|
||||
settings.f_start = s.value("SAStart", pref.Startup.SA.start).toULongLong();
|
||||
settings.f_stop = s.value("SAStop", pref.Startup.SA.stop).toULongLong();
|
||||
ConstrainAndUpdateFrequencies();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue