mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-01 05:45:59 +02:00
Improved platform/config rename and delete
This commit is contained in:
parent
20a932f5a7
commit
c3f7a996e0
3 changed files with 85 additions and 7 deletions
|
@ -320,6 +320,13 @@ namespace IDE.ui
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (gApp.mWorkspace.mExtraPlatforms.GetAndRemove(entry.mOrigName) case .Ok(let val))
|
||||
delete val;
|
||||
if (!entry.mDelete)
|
||||
gApp.mWorkspace.mExtraPlatforms.Add(new .(entry.mNewName));
|
||||
|
||||
gApp.mWorkspace.MarkPlatformNamesDirty();
|
||||
}
|
||||
|
||||
for (var window in gApp.mWindows)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue