diff options
| author | Joe <rbo@gmx.us> | 2024-01-15 20:20:20 +0100 | 
|---|---|---|
| committer | Joe <rbo@gmx.us> | 2024-01-15 20:20:20 +0100 | 
| commit | cb445d32cf678ba4971ce8c41ed252c1eeb27562 (patch) | |
| tree | c8119c664f6e51cd2770525a02c71d4fdb7430db /i_events.go | |
| parent | delete boy (diff) | |
| download | hardflip-cb445d32cf678ba4971ce8c41ed252c1eeb27562.tar.gz hardflip-cb445d32cf678ba4971ce8c41ed252c1eeb27562.tar.bz2 hardflip-cb445d32cf678ba4971ce8c41ed252c1eeb27562.tar.xz hardflip-cb445d32cf678ba4971ce8c41ed252c1eeb27562.tar.zst hardflip-cb445d32cf678ba4971ce8c41ed252c1eeb27562.zip  | |
fuck sel_max
Diffstat (limited to '')
| -rw-r--r-- | i_events.go | 6 | 
1 files changed, 0 insertions, 6 deletions
diff --git a/i_events.go b/i_events.go index d1cd8e4..c73895e 100644 --- a/i_events.go +++ b/i_events.go @@ -172,7 +172,6 @@ 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.folds = make(map[*DirsNode]*ItemsList) -	data.ui.sel_max = data.litems.last.ID  }  func i_delete_dir(data *HardData) { @@ -237,11 +236,6 @@ func i_delete_host(data *HardData) {  		tmp = data.litems.head  	}  	data.litems.curr = tmp -	if data.litems.last != nil { -		data.ui.sel_max = data.litems.last.ID -	} else { -		data.ui.sel_max = 0 -	}  }  // screen events such as keypresses  | 
