Windows: Use App.HintContextChange() where applicable

This commit is contained in:
2024-02-21 15:12:45 +01:00
parent 8732141e6b
commit 05a75a52cc
2 changed files with 2 additions and 2 deletions

View File

@ -287,7 +287,7 @@ namespace Elwig.Windows {
ShowAreaCommitmentNewEditDeleteButtons();
LockInputs();
UnlockSearchInputs();
await RefreshAreaCommitmentList();
await App.HintContextChange();
AreaCommitmentList.SelectedItem = a;
}

View File

@ -219,7 +219,7 @@ namespace Elwig.Windows {
try {
Context.Remove(v);
await Context.SaveChangesAsync();
await HintContextChange();
await App.HintContextChange();
} catch (Exception exc) {
var str = "Der Eintrag konnte nicht in der Datenbank aktualisiert werden!\n\n" + exc.Message;
if (exc.InnerException != null) str += "\n\n" + exc.InnerException.Message;