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:
parent
d82aab3b3f
commit
b94f69b976
3 changed files with 76 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue