mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 23:34:10 +02:00
Improved handling of platform configs
This commit is contained in:
parent
e8fd27fb0c
commit
0113ce7115
4 changed files with 103 additions and 85 deletions
|
@ -1686,12 +1686,6 @@ namespace IDE
|
|||
sd.Add(recentFile);
|
||||
}
|
||||
|
||||
using (sd.CreateArray("UserPlatforms"))
|
||||
{
|
||||
for (var platformName in gApp.mWorkspace.mUserPlatforms)
|
||||
sd.Add(platformName);
|
||||
}
|
||||
|
||||
using (sd.CreateArray("Breakpoints"))
|
||||
{
|
||||
for (var breakpoint in mDebugger.mBreakpointList)
|
||||
|
@ -2844,18 +2838,6 @@ namespace IDE
|
|||
mRecentlyDisplayedFiles.Add(fileStr);
|
||||
}
|
||||
|
||||
DeleteAndClearItems!(gApp.mWorkspace.mUserPlatforms);
|
||||
for (data.Enumerate("UserPlatforms"))
|
||||
{
|
||||
String platformName = scope String();
|
||||
data.GetCurString(platformName);
|
||||
if (!gApp.mWorkspace.mUserPlatforms.Contains(platformName))
|
||||
{
|
||||
gApp.mWorkspace.mUserPlatforms.Add(new String(platformName));
|
||||
gApp.mWorkspace.FixOptionsForPlatform(platformName);
|
||||
}
|
||||
}
|
||||
|
||||
for (var _breakpoint in data.Enumerate("Breakpoints"))
|
||||
{
|
||||
String fileName = scope String();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue