Преглед изворни кода

fixed MainWindow.Current null

flabbet пре 3 година
родитељ
комит
2896b95911
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      PixiEditor/Views/MainWindow.xaml.cs

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

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