From 7acf119c77e1619b4cd383ec8a4d8ca0c4eae5a5 Mon Sep 17 00:00:00 2001 From: veeso Date: Mon, 29 Mar 2021 21:14:35 +0200 Subject: [PATCH 1/2] Fixed port not being loaded from bookmarks into gui --- src/ui/activities/auth_activity/bookmarks.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/activities/auth_activity/bookmarks.rs b/src/ui/activities/auth_activity/bookmarks.rs index c0ed27c..6e131d7 100644 --- a/src/ui/activities/auth_activity/bookmarks.rs +++ b/src/ui/activities/auth_activity/bookmarks.rs @@ -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) { From a5ba118393d53d2d0be49074904af59fd9d03f9a Mon Sep 17 00:00:00 2001 From: veeso Date: Mon, 29 Mar 2021 21:16:14 +0200 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index abc2812..35e370a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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