[WIP] AdministrationWindow: Add HasContextLoaded property
Some checks failed
Test / Run tests (push) Has been cancelled

This commit is contained in:
2026-04-05 22:44:52 +02:00
parent 01c0cba190
commit 1258483fc7
9 changed files with 24 additions and 28 deletions

View File

@@ -18,6 +18,8 @@ namespace Elwig.Windows {
}
}
protected bool HasContextLoaded { get; private set; }
private bool _renewPending = false;
private readonly RoutedCommand CtrlR = new("CtrlR", typeof(ContextWindow), [new KeyGesture(Key.R, ModifierKeys.Control)]);
@@ -52,6 +54,7 @@ namespace Elwig.Windows {
using var ctx = new AppDbContext();
await OnRenewContext(ctx);
await OnInit(ctx);
HasContextLoaded = true;
Mouse.OverrideCursor = null;
}