Przeglądaj źródła

fixed MainWindow.Current null

flabbet 3 lat temu
rodzic
commit
2896b95911
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      PixiEditor/Views/MainWindow.xaml.cs

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

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