commit a2c323275160946484ee8ddf4b70b1237ea72d47
parent 29407cbef691f1aae02fcf1a86a7a60d3cbaa409
Author: Claudio Alessi <smoppy@gmail.com>
Date: Thu, 3 Mar 2016 19:37:35 +0100
Auto select 1st item when listview.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/core.c b/core.c
@@ -345,6 +345,7 @@ mysql_listview(MYSQL_RES *res) {
lens = mysql_fetch_lengths(res);
for(item = selview->items; item; item = item->next)
stfl_putitem(item, lens);
+ stfl_set(selview->form, L"pos", L"0");
}
void