Fixed crash due to bookmark delete

This commit is contained in:
ChristianVisintin
2021-03-08 17:03:53 +01:00
committed by veeso
parent 36cc6f445a
commit 00e2a1db31
2 changed files with 7 additions and 2 deletions

View File

@@ -18,7 +18,12 @@
Released on FIXME: date
- REPL
- **New explorer features**:
- **Execute** a command pressing `X`. This feature is supported on both local and remote hosts (only SFTP/SCP protocols support this feature).
- Bugfix:
- Prevent resetting explorer index on remote tab after performing certain actions (list dir, exec, ...)
- SCP file transfer: prevent infinite loops while performing `stat` on symbolic links pointing to themselves (e.g. `mylink -> mylink`)
- Fixed a bug causing termscp to crash if removing a bookmark
## 0.3.3

View File

@@ -50,7 +50,7 @@ impl AuthActivity {
self.write_bookmarks();
}
// Delete element from vec
self.recents_list.remove(idx);
self.bookmarks_list.remove(idx);
}
}