Browse Source

fixed MainWindow.Current null

flabbet 3 years ago
parent
commit
2896b95911
1 changed files with 2 additions and 0 deletions
  1. 2 0
      PixiEditor/Views/MainWindow.xaml.cs

+ 2 - 0
PixiEditor/Views/MainWindow.xaml.cs

@@ -66,6 +66,8 @@ namespace PixiEditor
                 }
             });
 
+            Current = this;
+
             OnReleaseBuild();
         }