mirror of
https://github.com/veeso/termscp.git
synced 2026-09-27 22:41:19 -07:00
Handle file selections in activity
This commit is contained in:
@@ -59,8 +59,7 @@ impl FileTransferActivity {
|
||||
);
|
||||
}
|
||||
// Reload files
|
||||
let path: PathBuf = self.local().wrkdir.clone();
|
||||
self.local_scan(path.as_path());
|
||||
self.reload_local_dir();
|
||||
}
|
||||
|
||||
pub(crate) fn action_remote_newfile(&mut self, input: String) {
|
||||
@@ -119,8 +118,7 @@ impl FileTransferActivity {
|
||||
);
|
||||
}
|
||||
// Reload files
|
||||
let path: PathBuf = self.remote().wrkdir.clone();
|
||||
self.remote_scan(path.as_path());
|
||||
self.reload_remote_dir();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user