mirror of https://github.com/buggins/dlangui.git
Merge cc66329d48
into 1822edb88d
This commit is contained in:
commit
39ec1512c9
|
@ -489,7 +489,7 @@ final class Setting {
|
||||||
|
|
||||||
|
|
||||||
/// read as string value
|
/// read as string value
|
||||||
@property inout(string) str() inout {
|
@property string str() {
|
||||||
final switch(_type) with(SettingType) {
|
final switch(_type) with(SettingType) {
|
||||||
case STRING:
|
case STRING:
|
||||||
return _store.str;
|
return _store.str;
|
||||||
|
@ -510,7 +510,7 @@ final class Setting {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// read as string value
|
/// read as string value
|
||||||
inout(string) strDef(string defValue) inout {
|
inout (string) strDef(inout (string) defValue) {
|
||||||
final switch(_type) with(SettingType) {
|
final switch(_type) with(SettingType) {
|
||||||
case STRING:
|
case STRING:
|
||||||
return _store.str;
|
return _store.str;
|
||||||
|
@ -2313,5 +2313,3 @@ final class Setting {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue