FIXED: #1471 Pointless and senseless check preventing project file deletion.

This commit is contained in:
dfighter1985 2012-07-19 22:33:18 +02:00
parent 14016398b7
commit d57cdaed09

View file

@ -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;