Save radar presets to file

- Renamed from favorites
This commit is contained in:
Dan Paulat 2023-12-20 12:49:47 -06:00
parent 436a3e0a9f
commit a76816b14c
5 changed files with 208 additions and 97 deletions

View file

@ -82,9 +82,9 @@ RadarSiteDialog::RadarSiteDialog(QWidget* parent) :
QModelIndex selectedIndex = p->proxyModel_->mapToSource(index);
if (selectedIndex.column() ==
static_cast<int>(model::RadarSiteModel::Column::Favorite))
static_cast<int>(model::RadarSiteModel::Column::Preset))
{
p->radarSiteModel_->ToggleFavorite(selectedIndex.row());
p->radarSiteModel_->TogglePreset(selectedIndex.row());
}
});
connect(