implemented the fix from nhdailey, should resolve #153. Will put up a
test build soon.
This commit is contained in:
parent
66980934b2
commit
c7c6ad6a87
|
@ -479,6 +479,8 @@ void load_opts()
|
||||||
opt_desc& opt = opts[i];
|
opt_desc& opt = opts[i];
|
||||||
|
|
||||||
if (opt.stropt) {
|
if (opt.stropt) {
|
||||||
|
//Fix provided by nhdailey
|
||||||
|
cfg->Read(opt.opt, opt.stropt, *opt.stropt);
|
||||||
opt.curstr = *opt.stropt;
|
opt.curstr = *opt.stropt;
|
||||||
} else if (!opt.enumvals.empty()) {
|
} else if (!opt.enumvals.empty()) {
|
||||||
auto enum_opts = str_split(opt.enumvals.MakeLower(), wxT("|"));
|
auto enum_opts = str_split(opt.enumvals.MakeLower(), wxT("|"));
|
||||||
|
|
Loading…
Reference in New Issue