mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-21 19:55:20 -05:00
Make the "Ready only" box sticky on program restart.
This commit is contained in:
parent
d6208b43e2
commit
f47596b2eb
@ -43,6 +43,7 @@ void ActiveStations::read_settings ()
|
||||
restoreGeometry (settings_->value ("window/geometry").toByteArray ());
|
||||
ui->sbMaxRecent->setValue(settings_->value("MaxRecent",10).toInt());
|
||||
ui->sbMaxAge->setValue(settings_->value("MaxAge",10).toInt());
|
||||
ui->cbReadyOnly->setChecked(settings_->value("ReadyOnly",false).toBool());
|
||||
}
|
||||
|
||||
void ActiveStations::write_settings ()
|
||||
@ -51,6 +52,7 @@ void ActiveStations::write_settings ()
|
||||
settings_->setValue ("window/geometry", saveGeometry ());
|
||||
settings_->setValue("MaxRecent",ui->sbMaxRecent->value());
|
||||
settings_->setValue("MaxAge",ui->sbMaxAge->value());
|
||||
settings_->setValue("ReadyOnly",ui->cbReadyOnly->isChecked());
|
||||
}
|
||||
|
||||
void ActiveStations::displayRecentStations(QString const& t)
|
||||
|
Loading…
Reference in New Issue
Block a user