Open file on <SUBMIT>

This commit is contained in:
veeso
2021-06-10 11:08:17 +02:00
parent c4907c8ce5
commit a8354ee38f
7 changed files with 253 additions and 20 deletions

View File

@@ -87,7 +87,7 @@ impl Update for FileTransferActivity {
entry = Some(e.clone());
}
if let Some(entry) = entry {
if self.action_enter_local_dir(entry, false) {
if self.action_submit_local(entry) {
// Update file list if sync
if self.browser.sync_browsing {
let _ = self.update_remote_filelist();
@@ -150,7 +150,7 @@ impl Update for FileTransferActivity {
entry = Some(e.clone());
}
if let Some(entry) = entry {
if self.action_enter_remote_dir(entry, false) {
if self.action_submit_remote(entry) {
// Update file list if sync
if self.browser.sync_browsing {
let _ = self.update_local_filelist();