Removed backup async lazy-loading collection, the queueing variant in now proven; added ItemFetched event so users can run additional processing when items have been fetched from the dataabse; fixed message presenter, yes/no and ok/cancel messages are now centered and parented to the main window as well
This commit is contained in:
parent
d969811427
commit
76a31e15f4
4 changed files with 30 additions and 832 deletions
|
@ -107,7 +107,14 @@ namespace Nuclex.Avalonia.Messages {
|
|||
}
|
||||
)
|
||||
);
|
||||
return messageBox.ShowAsync(); // TODO: Make modal to current or main window
|
||||
|
||||
Window? activeWindow = this.tracker.ActiveWindow;
|
||||
if(activeWindow == null) {
|
||||
return messageBox.ShowAsync();
|
||||
} else {
|
||||
//return messageBox.ShowAsPopupAsync(activeWindow);
|
||||
return messageBox.ShowWindowDialogAsync(activeWindow);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue