diff --git a/src/main.rs b/src/main.rs index b293ebd..646616e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8676,7 +8676,7 @@ fn profile_dialog_layer(state: &Moorly, window: window::Id) -> Option Element<'_, Message> { match draft.kind { - ProfileKind::Terminal => { + ProfileKind::Terminal | ProfileKind::PowerShell => { let field = text_input("Start path", &draft.start_path) .on_input(Message::ProfileStartPathChanged) .padding(Padding { @@ -8701,7 +8701,7 @@ fn profile_kind_view(draft: &ProfileDraft) -> Element<'_, Message> { .padding(Padding::ZERO.right(6.0)); column![ - text("Terminal").size(18), + text(draft.kind.label()).size(18), column![ text("Start path").size(12), stack![field, browse].width(Length::Fill), @@ -8711,7 +8711,6 @@ fn profile_kind_view(draft: &ProfileDraft) -> Element<'_, Message> { .spacing(12) .into() } - ProfileKind::PowerShell => text("PowerShell").size(18).into(), ProfileKind::Ssh => { let host_port = row![ column![