Browse Source

fixed MainWindow.Current null

flabbet 3 năm trước cách đây
mục cha
commit
2896b95911
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      PixiEditor/Views/MainWindow.xaml.cs

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

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