Parcourir la source

fixed MainWindow.Current null

flabbet il y a 3 ans
Parent
commit
2896b95911
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      PixiEditor/Views/MainWindow.xaml.cs

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

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