diff options
author | Joe <rbo@gmx.us> | 2024-01-08 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-01-08 20:20:20 +0100 |
commit | 28108920b5e4c6ad916b4c974319b14b3be27798 (patch) | |
tree | 2e6c662bedb8162aa1342dae27eaf140104f68d6 /i_events.go | |
parent | cool (diff) | |
download | hardflip-28108920b5e4c6ad916b4c974319b14b3be27798.tar.gz hardflip-28108920b5e4c6ad916b4c974319b14b3be27798.tar.bz2 hardflip-28108920b5e4c6ad916b4c974319b14b3be27798.tar.xz hardflip-28108920b5e4c6ad916b4c974319b14b3be27798.tar.zst hardflip-28108920b5e4c6ad916b4c974319b14b3be27798.zip |
factor
Diffstat (limited to 'i_events.go')
-rw-r--r-- | i_events.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/i_events.go b/i_events.go index 1d8dd20..3406088 100644 --- a/i_events.go +++ b/i_events.go @@ -43,7 +43,7 @@ * POSSIBILITY OF SUCH DAMAGE. * * hardflip: src/i_events.go - * Mon Jan 08 13:56:06 2024 + * Mon Jan 08 16:40:17 2024 * Joe * * events in the code @@ -75,8 +75,7 @@ func i_list_follow_cursor(litems *ItemsList, ui *HardUI) { func i_reload_data(data *HardData) { data.ldirs = c_load_data_dir(data.data_dir, data.opts) data.litems = c_load_litems(data.ldirs) - data.ui.sel_max, data.ui.count_dirs, data.ui.count_hosts = - i_get_sel_max(data.ldirs) + data.ui.sel_max = data.litems.last.ID } func i_delete_host(data *HardData) { |