mirror of
https://github.com/veeso/termscp.git
synced 2025-12-06 17:15:35 -08:00
fix(ui): fixed input mask on host bridge on local dir up
if you go up on local dir when localhost is selected it panics fix #327
This commit is contained in:
@@ -252,7 +252,10 @@ impl AuthActivity {
|
||||
UiMsg::HostBridge(UiAuthFormMsg::LocalDirectoryBlurUp) => {
|
||||
assert!(
|
||||
self.app
|
||||
.active(&Id::HostBridge(AuthFormId::RemoteDirectory))
|
||||
.active(match self.host_bridge_input_mask() {
|
||||
InputMask::Localhost => &Id::HostBridge(AuthFormId::Protocol),
|
||||
_ => &Id::HostBridge(AuthFormId::RemoteDirectory),
|
||||
})
|
||||
.is_ok()
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user