mirror of
https://github.com/veeso/termscp.git
synced 2026-09-26 22:11:26 -07:00
Remote directory path in authentication form and in bookmarks parameters
This commit is contained in:
committed by
Christian Visintin
parent
e0d8b80cdf
commit
2caa0432df
@@ -171,6 +171,12 @@ impl AuthActivity {
|
||||
// Load parameters into components
|
||||
self.protocol = bookmark.protocol;
|
||||
self.mount_protocol(bookmark.protocol);
|
||||
self.mount_remote_directory(
|
||||
bookmark
|
||||
.entry_directory
|
||||
.map(|x| x.to_string_lossy().to_string())
|
||||
.unwrap_or_default(),
|
||||
);
|
||||
match bookmark.params {
|
||||
ProtocolParams::AwsS3(params) => self.load_bookmark_s3_into_gui(params),
|
||||
ProtocolParams::Generic(params) => self.load_bookmark_generic_into_gui(params),
|
||||
|
||||
Reference in New Issue
Block a user