[WIP] AdministrationWindow: Add HasContextLoaded property
Some checks failed
Test / Run tests (push) Has been cancelled
Some checks failed
Test / Run tests (push) Has been cancelled
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user