Minor API change

This commit is contained in:
Jean-Patrick Guerrero
2021-11-19 19:35:41 +01:00
parent dc8efbd16c
commit 6c3d2fe5cf
3 changed files with 17 additions and 15 deletions

View File

@ -475,7 +475,7 @@ local function show_popup(fs, data)
fs("image_button", 7.65, 10.6, 0.35, 0.35, "", "next_sort", "")
fs("style[sort_method;font=bold;font_size=20]")
fs("button", 2.55, 10.36, 5.1, 0.8, "sort_method", data.sort:gsub("^%l", upper))
fs("button", 2.55, 10.36, 5.1, 0.8, "sort_method", toupper(data.sort))
local idx = get_sorting_idx(data.sort)
local desc = i3.sorting_methods[idx].description