Fixes the settings reading values

master
Francisco Pina Martins 2022-01-13 16:55:21 +00:00
parent fa151780f3
commit 298c709a6a
1 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@
min: 0, max: colvalues.length-1, min: 0, max: colvalues.length-1,
format: v => colnames[v], format: v => colnames[v],
onchange: v => { onchange: v => {
settings.timecol = v; settings.timecol = colvalues[v];
writeSettings(); writeSettings();
} }
}, },
@ -28,7 +28,7 @@
min: 0, max: colvalues.length-1, min: 0, max: colvalues.length-1,
format: v => colnames[v], format: v => colnames[v],
onchange: v => { onchange: v => {
settings.dowcol = v; settings.dowcol = colvalues[v];
writeSettings(); writeSettings();
} }
}, },
@ -37,7 +37,7 @@
min: 0, max: colvalues.length-1, min: 0, max: colvalues.length-1,
format: v => colnames[v], format: v => colnames[v],
onchange: v => { onchange: v => {
settings.datecol = v; settings.datecol = colvalues[v];
writeSettings(); writeSettings();
} }
}, },