mirror of https://github.com/buggins/dlangui.git
settings support improvements
This commit is contained in:
parent
92d466dfff
commit
f2b632dfcc
|
@ -63,6 +63,10 @@ class SettingsFile {
|
||||||
@property Setting copySettings() {
|
@property Setting copySettings() {
|
||||||
return _setting.clone();
|
return _setting.clone();
|
||||||
}
|
}
|
||||||
|
/// replace setting object
|
||||||
|
void replaceSetting(Setting s) {
|
||||||
|
_setting = s;
|
||||||
|
}
|
||||||
@property void applySettings(Setting settings) {
|
@property void applySettings(Setting settings) {
|
||||||
// TODO copy only changed settings
|
// TODO copy only changed settings
|
||||||
_setting = settings;
|
_setting = settings;
|
||||||
|
|
Loading…
Reference in New Issue