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.
Этот коммит содержится в:
родитель
6de0a8ec00
Коммит
06a5f5215f
@ -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);
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user