Windows: Add OriginHierarchyWindow
This commit is contained in:
1 parent
fb4dc613ae
commit
c25bfc9f1b
14 files changed
+353
-10
No files matched your search
@@ -24,14 +24,18 @@ namespace Elwig.Windows {
|
||||
Loaded += OnLoaded;
|
||||
}
|
||||
|
||||
private async void OnShouldRenewContext(object? sender, EventArgs evt) {
|
||||
if (!Context.HasBackendChanged) return;
|
||||
public async Task HintContextChange() {
|
||||
_renewPending = true;
|
||||
if (LockContext) return;
|
||||
await RenewContext();
|
||||
}
|
||||
|
||||
protected async void OnLoaded(object sender, RoutedEventArgs evt) {
|
||||
private async void OnShouldRenewContext(object? sender, EventArgs? evt) {
|
||||
if (!Context.HasBackendChanged) return;
|
||||
await HintContextChange();
|
||||
}
|
||||
|
||||
protected async void OnLoaded(object? sender, RoutedEventArgs? evt) {
|
||||
await OnRenewContext();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user