diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-12-26 14:16:00 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-12-26 14:16:00 +0100 |
commit | 12e81eb57b0da49dbcd2f823dbf156ee24a802f2 (patch) | |
tree | bb15985f9d284a838adcdefd91a5861c78eed08d /lib/settings/configuration.h | |
parent | Updated pre-commit hook (diff) | |
download | smolbote-12e81eb57b0da49dbcd2f823dbf156ee24a802f2.tar.xz |
SettingsDialog patches
- Added scrollbar, so items are now properly viewable on all sizes
- Reset button now works
- Editing values causes a crash
- Filter path is now in filter.path instead of browser.filterPath
Diffstat (limited to 'lib/settings/configuration.h')
-rw-r--r-- | lib/settings/configuration.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/settings/configuration.h b/lib/settings/configuration.h index 49f92d6..1909eb8 100644 --- a/lib/settings/configuration.h +++ b/lib/settings/configuration.h @@ -32,6 +32,8 @@ public: std::vector<std::string> childrenSettings(const char *name = ""); std::vector<std::string> childrenGroups(const char *name = ""); + void resetValue(const char* path); + template<typename T> std::optional<T> value(const char* path) const; |