Explorar o código

fixed MainWindow.Current null

flabbet %!s(int64=3) %!d(string=hai) anos
pai
achega
2896b95911
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      PixiEditor/Views/MainWindow.xaml.cs

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

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