1
1

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).
Этот коммит содержится в:
Norbert Warmuth 1998-12-13 18:30:38 +00:00
родитель 92688cca24
Коммит 0e3a30f40c
2 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@ -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;