Merge branch '0.4.1' into issue-13-could-not-start-activity-manager-no-such-file-or-directory

This commit is contained in:
veeso
2021-04-01 22:20:50 +02:00
2 changed files with 4 additions and 1 deletions

View File

@@ -19,6 +19,9 @@
Released on FIXME:
- Bugfix:
- [Issue 10](https://github.com/veeso/termscp/issues/10): Fixed port not being loaded from bookmarks into gui
## 0.4.0
Released on 27/03/2021

View File

@@ -251,7 +251,7 @@ impl AuthActivity {
self.view.update(super::COMPONENT_INPUT_ADDR, props);
}
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);
}
if let Some(mut props) = self.view.get_props(super::COMPONENT_RADIO_PROTOCOL) {