mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed some file/dir deleting issues
This commit is contained in:
parent
9a2d200b70
commit
387ba470d4
5 changed files with 46 additions and 11 deletions
|
@ -1173,7 +1173,7 @@ namespace IDE.ui
|
|||
if ((sourceViewPanel != null) && (sourceViewPanel.mProjectSource == projectSource))
|
||||
{
|
||||
if (isRemovingProjectSource)
|
||||
sourceViewPanel.DetachFromProjectItem();
|
||||
sourceViewPanel.DetachFromProjectItem(true);
|
||||
else
|
||||
sourceViewPanel.QueueFullRefresh(true);
|
||||
}
|
||||
|
@ -1217,7 +1217,7 @@ namespace IDE.ui
|
|||
(sourceViewPanel.mProjectSource != null) &&
|
||||
(sourceViewPanel.mProjectSource.mProject == project))
|
||||
{
|
||||
sourceViewPanel.DetachFromProjectItem();
|
||||
sourceViewPanel.DetachFromProjectItem(true);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -1228,7 +1228,7 @@ namespace IDE.ui
|
|||
if (listItem.mChildItems != null)
|
||||
{
|
||||
for (int childIdx = listItem.mChildItems.Count - 1; childIdx >= 0; childIdx--)
|
||||
DoDeleteItem(listItem.mChildItems[childIdx], deletePathFunc);
|
||||
DoDeleteItem(listItem.mChildItems[childIdx], deletePathFunc, true);
|
||||
}
|
||||
|
||||
if (projectItem == null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue