Autofill file name

This commit is contained in:
Flikter 2024-09-15 01:25:14 +02:00 committed by GitHub
parent 83e3c487a9
commit 263617e409
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,6 +57,7 @@ namespace Bloxstrap.UI.ViewModels.Settings
if (dialog.ShowDialog() != true) if (dialog.ShowDialog() != true)
return; return;
SelectedCustomIntegration.Name = dialog.SafeFileName;
SelectedCustomIntegration.Location = dialog.FileName; SelectedCustomIntegration.Location = dialog.FileName;
OnPropertyChanged(nameof(SelectedCustomIntegration)); OnPropertyChanged(nameof(SelectedCustomIntegration));
} }