mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-03 04:50:06 +00:00
Save radar presets to file
- Renamed from favorites
This commit is contained in:
parent
436a3e0a9f
commit
a76816b14c
5 changed files with 208 additions and 97 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue