diff --git a/gui/src/installer/step/descriptor.rs b/gui/src/installer/step/descriptor.rs index a9645003..986de404 100644 --- a/gui/src/installer/step/descriptor.rs +++ b/gui/src/installer/step/descriptor.rs @@ -393,6 +393,7 @@ impl Step for ImportDescriptor { // descriptor forms for import or creation cannot be both empty or filled. if !self.imported_descriptor.value.is_empty() { if let Ok(desc) = MultipathDescriptor::from_str(&self.imported_descriptor.value) { + self.imported_descriptor.valid = true; ctx.descriptor = Some(desc); true } else { diff --git a/gui/src/installer/view.rs b/gui/src/installer/view.rs index c208346e..cc7e8bc7 100644 --- a/gui/src/installer/view.rs +++ b/gui/src/installer/view.rs @@ -287,7 +287,7 @@ pub fn import_descriptor<'a>( .push(row_network) .push(col_descriptor), ) - .push(if !imported_descriptor.value.is_empty() { + .push(if imported_descriptor.value.is_empty() { button::primary(None, "Next").width(Length::Units(200)) } else { button::primary(None, "Next")