1
1

Properly select the next item after deletion

Setting FF_BSEL after calling browse_init() causes two items to be
selected, as browse_init() makes sure something will be selected,
while calc_process() assumes nothing is, because the previously
selected item had just been deleted.
Этот коммит содержится в:
Yorhel 2009-05-11 20:14:52 +02:00
родитель 6de0a8ec00
Коммит 06a5f5215f
2 изменённых файлов: 2 добавлений и 1 удалений

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

@ -1,5 +1,6 @@
git - ?
- Implemented hard link detection
- Properly select the next item after deletion
1.5 - 2009-05-02
- Fixed incorrect apparent size on directory refresh

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

@ -237,9 +237,9 @@ void delete_process() {
if(delete_dir(root))
browse_init(root);
else {
browse_init(n);
if(nextsel)
nextsel->flags |= FF_BSEL;
browse_init(n);
}
link_del(root);
}