Browse Source

修复不能导出的bug

Jimmy 2 years ago
parent
commit
38d16c5123
1 changed files with 3 additions and 0 deletions
  1. 3 0
      fis/MainWindow.axaml.cs

+ 3 - 0
fis/MainWindow.axaml.cs

@@ -13,6 +13,7 @@ using System.Globalization;
 using System.Reflection;
 using System.Threading;
 using System.Runtime.InteropServices;
+using fis.Managers;
 
 namespace fis
 {
@@ -117,6 +118,8 @@ namespace fis
             {
                 Icon = new WindowIcon(resourceStream);
             }
+
+            AppManager.ParentWindow = this;
         }
     }