1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Improved VS detection

This commit is contained in:
Brian Fiete 2020-10-30 05:51:39 -07:00
parent d82aab3b3f
commit b94f69b976
3 changed files with 76 additions and 11 deletions

View file

@ -395,7 +395,18 @@ namespace IDE.ui
{
if (propPage == null)
continue;
ApplyChanges(propPage, ref hadChanges);
bool pageHadChanges = false;
ApplyChanges(propPage, ref pageHadChanges);
if (pageHadChanges)
{
hadChanges = true;
if ((CategoryType)@propPage == .VisualStudio)
{
Settings.VSSettings defaultSettings = scope .();
defaultSettings.SetDefaults();
gApp.mSettings.mVSSettings.mManuallySet = !defaultSettings.Equals(gApp.mSettings.mVSSettings);
}
}
}
if (hadChanges)