mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Fixed port not being loaded from bookmarks into gui
This commit is contained in:
@@ -251,7 +251,7 @@ impl AuthActivity {
|
|||||||
self.view.update(super::COMPONENT_INPUT_ADDR, props);
|
self.view.update(super::COMPONENT_INPUT_ADDR, props);
|
||||||
}
|
}
|
||||||
if let Some(mut props) = self.view.get_props(super::COMPONENT_INPUT_PORT) {
|
if let Some(mut props) = self.view.get_props(super::COMPONENT_INPUT_PORT) {
|
||||||
let props = props.with_value(PropValue::Unsigned(port as usize)).build();
|
let props = props.with_value(PropValue::Str(port.to_string())).build();
|
||||||
self.view.update(super::COMPONENT_INPUT_PORT, props);
|
self.view.update(super::COMPONENT_INPUT_PORT, props);
|
||||||
}
|
}
|
||||||
if let Some(mut props) = self.view.get_props(super::COMPONENT_RADIO_PROTOCOL) {
|
if let Some(mut props) = self.view.get_props(super::COMPONENT_RADIO_PROTOCOL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user