From 263617e40918b52165b5a9615f7143d14af5cbce Mon Sep 17 00:00:00 2001 From: Flikter <83476766+Flikter@users.noreply.github.com> Date: Sun, 15 Sep 2024 01:25:14 +0200 Subject: [PATCH 1/2] Autofill file name --- Bloxstrap/UI/ViewModels/Settings/IntegrationsViewModel.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Bloxstrap/UI/ViewModels/Settings/IntegrationsViewModel.cs b/Bloxstrap/UI/ViewModels/Settings/IntegrationsViewModel.cs index aed332ed..042b1382 100644 --- a/Bloxstrap/UI/ViewModels/Settings/IntegrationsViewModel.cs +++ b/Bloxstrap/UI/ViewModels/Settings/IntegrationsViewModel.cs @@ -57,6 +57,7 @@ private void BrowseIntegrationLocation() if (dialog.ShowDialog() != true) return; + SelectedCustomIntegration.Name = dialog.SafeFileName; SelectedCustomIntegration.Location = dialog.FileName; OnPropertyChanged(nameof(SelectedCustomIntegration)); } From 18093590257d3f4e09002ac4bc6b6354cba43b22 Mon Sep 17 00:00:00 2001 From: Flikter <83476766+Flikter@users.noreply.github.com> Date: Sun, 15 Sep 2024 01:25:42 +0200 Subject: [PATCH 2/2] Update integration name while typing --- Bloxstrap/UI/Elements/Settings/Pages/IntegrationsPage.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bloxstrap/UI/Elements/Settings/Pages/IntegrationsPage.xaml b/Bloxstrap/UI/Elements/Settings/Pages/IntegrationsPage.xaml index 8bafca94..9f409a9d 100644 --- a/Bloxstrap/UI/Elements/Settings/Pages/IntegrationsPage.xaml +++ b/Bloxstrap/UI/Elements/Settings/Pages/IntegrationsPage.xaml @@ -89,7 +89,7 @@ - +