Allowed FindWindow to display through MainWindow.

This commit is contained in:
alphafetus committed 2023-10-18 17:19:02 -04:00
1 parent 0b438fb49e
commit 42a7871ed4
1 file changed
+1
+1
View File
@@ -12,6 +12,7 @@ public partial class MainWindow : ReactiveWindow<MainWindowViewModel>
{ {
InitializeComponent(); InitializeComponent();
this.WhenActivated(d => d(ViewModel!.ShowDeleteWindow.RegisterHandler(ShowDeleteWindowAsync))); this.WhenActivated(d => d(ViewModel!.ShowDeleteWindow.RegisterHandler(ShowDeleteWindowAsync)));
this.WhenActivated(d => d(ViewModel!.ShowFindWindow.RegisterHandler(ShowFindWindowAsync)));
} }
public async Task ShowDeleteWindowAsync(InteractionContext<DeleteWindowViewModel, Boolean> interaction) public async Task ShowDeleteWindowAsync(InteractionContext<DeleteWindowViewModel, Boolean> interaction)