aboutsummaryrefslogtreecommitdiffstats
path: root/i_events.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-08 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-01-08 20:20:20 +0100
commit28108920b5e4c6ad916b4c974319b14b3be27798 (patch)
tree2e6c662bedb8162aa1342dae27eaf140104f68d6 /i_events.go
parentcool (diff)
downloadhardflip-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.go5
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) {