This commit is contained in:
veeso
2021-05-12 20:55:17 +02:00
parent b8db557ffe
commit d96558c3df
6 changed files with 90 additions and 65 deletions
@@ -68,7 +68,7 @@ impl FileTransferActivity {
}
pub(crate) fn action_remote_rename(&mut self, input: String) {
if let Some(idx) = self.get_remote_file_idx() {
if let Some(idx) = self.get_remote_file_state() {
let entry = self.remote().get(idx).cloned();
if let Some(entry) = entry {
let dst_path: PathBuf = PathBuf::from(input);