BaseDataWindow: Use Cursors.Wait instead of Cursors.AppStarting

This commit is contained in:
lorenz.stechauner committed 2025-05-05 10:36:30 +02:00
1 parent 39d749ad2d
commit ca1fb0f5e8
2 files changed
+5 -6

No files matched your search

+2 -2
View File
@@ -157,7 +157,7 @@ namespace Elwig.Windows {
}
var d = new NewSeasonDialog(s, currencies);
if (d.ShowDialog() == true) {
Mouse.OverrideCursor = Cursors.AppStarting;
Mouse.OverrideCursor = Cursors.Wait;
try {
using var ctx = new AppDbContext();
ctx.Add(new Season {
@@ -209,7 +209,7 @@ namespace Elwig.Windows {
$"Soll die Saison {s.Year} wirklich unwiderruflich gelöscht werden?",
"Saison löschen", MessageBoxButton.OKCancel, MessageBoxImage.Warning, MessageBoxResult.Cancel);
if (r == MessageBoxResult.OK) {
Mouse.OverrideCursor = Cursors.AppStarting;
Mouse.OverrideCursor = Cursors.Wait;
try {
using var ctx = new AppDbContext();
ctx.Remove(s);