mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-04 14:00:46 +09:00
Settings page save settings, refactor
This commit is contained in:
@@ -161,6 +161,15 @@ namespace gsr {
|
||||
}
|
||||
}
|
||||
|
||||
const std::string& ComboBox::get_selected_id() const {
|
||||
if(items.empty()) {
|
||||
static std::string dummy;
|
||||
return dummy;
|
||||
} else {
|
||||
return items[selected_item].id;
|
||||
}
|
||||
}
|
||||
|
||||
void ComboBox::update_if_dirty() {
|
||||
if(!dirty)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user