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

--HG--
branch : gsoc2012-gui-editor
hg/feature/sse2
dfighter1985 13 years ago
parent cadd13ba53
commit 3f6b40bf3a

@ -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…
Cancel
Save