diff --git a/cnfg.sh b/cnfg.sh index 8f961ca1..becbbacb 100755 --- a/cnfg.sh +++ b/cnfg.sh @@ -123,8 +123,9 @@ config_dlg() { --field="$(gettext "Check for updates")":BTN "$DS/ifs/tls.sh 'check_updates'" \ --field="$(gettext "About")":BTN "$DS/ifs/tls.sh 'about'" > "$cnf1" & cat "$DS_a/menu_list" |yad --plug=$KEY --tabnum=2 --list \ - --text=" $(gettext "Click to configure") " \ - --print-all --select-action="$DS/ifs/dclik.sh" \ + --text=" $(gettext "Click to configure") " --print-all \ + --select-action="$DS/ifs/dclik.sh" \ + --dclick-action="$DS/ifs/dclik.sh" \ --expand-column=2 --no-headers \ --column=icon:IMG --column=Action & yad --notebook --key=$KEY --title="$(gettext "Settings")" \ diff --git a/ifs/stats.sh b/ifs/stats.sh index 6fc3bd96..56fe5a88 100755 --- a/ifs/stats.sh +++ b/ifs/stats.sh @@ -181,7 +181,7 @@ function mk_topic_stats() { field2="[$c01,$c02,$c03,$c04,$c05,$c06,$c07,$c08,$c09,$c10,$c11,$c12]" field3="[$d01,$d02,$d03,$d04,$d05,$d06,$d07,$d08,$d09,$d10,$d11,$d12]" field4="[$e01,$e02,$e03,$e04,$e05,$e06,$e07,$e08,$e09,$e10,$e11,$e12]" - echo -e "data1='[{\"f0\":$field0,\"f1\":$field1,\"f2\":$field2,\"f3\":$field3,\"f4\":$field4}]';" > ${data} + echo -e "data1='[{\"f0\":$field0,\"f1\":$field1,\"f2\":$field2,\"f3\":$field3,\"f4\":$field4}]';" > "${data}" exec 3< <(sqlite3 "$db" "select week FROM ${wtable}" |tail -n9) exec 4< <(sqlite3 "$db" "select val0 FROM ${wtable}" |tail -n9)