mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed "Remove" for auto-include item - sets to "Ignore"
This commit is contained in:
parent
e4892af4c9
commit
b9d82107bb
1 changed files with 9 additions and 1 deletions
|
@ -1344,7 +1344,15 @@ namespace IDE.ui
|
|||
//var projectItem = mListViewToProjectMap[selectedItem];
|
||||
if (!deleteFiles)
|
||||
{
|
||||
DoDeleteItem(selectedItem, null);
|
||||
mListViewToProjectMap.TryGetValue(selectedItem, var projectItem);
|
||||
if ((projectItem != null) && (projectItem.mIncludeKind == .Auto))
|
||||
{
|
||||
DoDeleteItem(selectedItem, null, .Ignore);
|
||||
projectItem.mIncludeKind = .Ignore;
|
||||
projectItem.mProject.SetChanged();
|
||||
}
|
||||
else
|
||||
DoDeleteItem(selectedItem, null);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue