Solution file Fix

This commit is contained in:
Joseph Moreno
2023-02-10 13:19:36 -05:00
parent dcc47c332f
commit 53a2de07e7
3 changed files with 8 additions and 10 deletions

View File

@ -34,7 +34,7 @@ namespace AvaloniaCoreRTDemo.Windows
{
AvaloniaXamlLoader.Load(this);
this.DataContext = new MainViewModel<MainWindow>(this);
if(window is not null)
if (window is not null)
{
this.MainControl.Reload(window.Model);
this.WindowState = window.State;