Skip to content

Commit 3c596f1

Browse files
committed
Platform data should be loaded after first run...
1 parent da9d38e commit 3c596f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

FlashDevelop/MainForm.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,8 @@ private void InitializeConfig()
707707
File.Delete(appman);
708708
this.refreshConfig = true;
709709
}
710+
// Load platform data from user files
711+
PlatformData.Load(Path.Combine(PathHelper.SettingDir, "Platforms"));
710712
// Load current theme for applying later
711713
String currentTheme = Path.Combine(PathHelper.ThemesDir, "CURRENT");
712714
if (File.Exists(currentTheme)) ThemeManager.LoadTheme(currentTheme);
@@ -790,7 +792,6 @@ private void InitializeSettings()
790792
this.appSettings = (SettingObject)obj;
791793
}
792794
SettingObject.EnsureValidity(this.appSettings);
793-
PlatformData.Load(Path.Combine(PathHelper.SettingDir, "Platforms"));
794795
FileStateManager.RemoveOldStateFiles();
795796
}
796797

0 commit comments

Comments
 (0)