mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-03-31 17:27:05 +09:00
Better global settings design, dont change startup setting in ui if systemctl command fails
This commit is contained in:
@@ -27,7 +27,8 @@ namespace gsr {
|
||||
|
||||
mgl::vec2f get_size() override;
|
||||
|
||||
std::function<void(const std::string &text, const std::string &id)> on_selection_changed;
|
||||
// Return false to revert the change
|
||||
std::function<bool(const std::string &text, const std::string &id)> on_selection_changed;
|
||||
private:
|
||||
void update_if_dirty();
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user