mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-24 17:58:45 +00:00
FIXED: #1471 Pointless and senseless check preventing project file deletion.
This commit is contained in:
parent
39d0e3dff7
commit
c0551fdbfa
1 changed files with 0 additions and 2 deletions
|
@ -107,8 +107,6 @@ namespace GUIEditor
|
|||
if( fileTree->currentItem() == NULL )
|
||||
return;
|
||||
|
||||
if( ( fileTree->topLevelItem( 0 )->childCount() == 0 ) || ( fileTree->topLevelItem( 1 )->childCount() == 0 ) )
|
||||
return;
|
||||
// Can't delete top-level item
|
||||
if( fileTree->currentItem()->parent() == NULL )
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue