Sun Dec 13 18:35:05 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* screen.c (panel_reload): Don't set panel->selected to zero here, keep it's value if possible or set it to panel->count - 1 (I disliked the jumping cursor when deleting files).
Этот коммит содержится в:
родитель
92688cca24
Коммит
0e3a30f40c
@ -1,3 +1,9 @@
|
||||
Sun Dec 13 18:35:05 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
|
||||
|
||||
* screen.c (panel_reload): Don't set panel->selected to zero here,
|
||||
keep it's value if possible or set it to panel->count - 1 (I disliked
|
||||
the jumping cursor when deleting files).
|
||||
|
||||
1998-12-11 Michael Fulbright <msf@majestic.labs.redhat.com>
|
||||
|
||||
* file.c (panel_operate_generate_prompt): Changes the text
|
||||
|
@ -1081,7 +1081,10 @@ panel_reload (WPanel *panel)
|
||||
|
||||
panel->count = do_reload_dir (&panel->dir, panel->sort_type, panel->count,
|
||||
panel->reverse, panel->case_sensitive, panel->filter);
|
||||
panel->selected = 0;
|
||||
|
||||
if (panel->selected >= panel->count)
|
||||
do_select (panel, panel->count-1);
|
||||
|
||||
panel->marked = 0;
|
||||
panel->dirs_marked = 0;
|
||||
panel->total = 0;
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user