Settings page save settings, refactor

This commit is contained in:
dec05eba
2024-08-10 00:45:36 +02:00
parent 1a49f86e98
commit 4ea5ada905
18 changed files with 905 additions and 569 deletions

View File

@@ -135,4 +135,13 @@ namespace gsr {
}
}
}
const std::string RadioButton::get_selected_id() const {
if(items.empty()) {
static std::string dummy;
return dummy;
} else {
return items[selected_item].id;
}
}
}