Jelajahi Sumber

fixed MainWindow.Current null

flabbet 3 tahun lalu
induk
melakukan
2896b95911
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      PixiEditor/Views/MainWindow.xaml.cs

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

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