diff --git a/src/dlangui/core/settings.d b/src/dlangui/core/settings.d index ad4fd2b0..aa89b9a1 100644 --- a/src/dlangui/core/settings.d +++ b/src/dlangui/core/settings.d @@ -1227,6 +1227,12 @@ final class Setting { return item.strDef(defValue); return defValue; } + /// returns string array item by key from map, returns null if not found + string[] getStringArray(string key) { + if (auto item = opIndex(key)) + return item.strArray(); + return null; + } /// serialize to json string toJSON(bool pretty = false) {