diff --git a/Gavilya/ViewModels/GameEditionViewModel.cs b/Gavilya/ViewModels/GameEditionViewModel.cs
index 0c671ac..8b5ea28 100644
--- a/Gavilya/ViewModels/GameEditionViewModel.cs
+++ b/Gavilya/ViewModels/GameEditionViewModel.cs
@@ -226,6 +226,10 @@ public bool CanExecute
private Visibility _steamSectionVis = Visibility.Collapsed;
public Visibility SteamSectionVis { get => _steamSectionVis; set { _steamSectionVis = value; OnPropertyChanged(nameof(SteamSectionVis)); } }
+ private Visibility _noExeVis = Visibility.Collapsed;
+ public Visibility NoExeVis { get => _noExeVis; set { _noExeVis = value; OnPropertyChanged(nameof(NoExeVis)); } }
+
+
public ICommand AddCommand { get; }
public ICommand BrowseFileCommand { get; }
public ICommand BrowseImageCommand { get; }
@@ -507,6 +511,8 @@ private void Scan(object? obj)
string selectedPath = dialog.SelectedPath;
GameScannerService gameScannerService = new();
ExeApps = gameScannerService.ScanForExecutables(selectedPath, this);
+ if (ExeApps is not null && ExeApps.Count > 0) NoExeVis = Visibility.Collapsed;
+ else NoExeVis = Visibility.Visible;
IsExeSelectorOpen = true;
}
}
diff --git a/Gavilya/Views/GameEditionView.xaml b/Gavilya/Views/GameEditionView.xaml
index 6ba0c0b..9e518ab 100644
--- a/Gavilya/Views/GameEditionView.xaml
+++ b/Gavilya/Views/GameEditionView.xaml
@@ -144,6 +144,24 @@
+
+
+
+