Fixed issue sankore-35 and sankore-34

preferencesAboutTextFull
Claudio Valerio 14 years ago
parent 27b93bb24d
commit c88e23f34d
  1. 5
      src/gui/UBLibActionBar.cpp

@ -473,7 +473,10 @@ void UBLibActionBar::onNavigbarUpdate(UBLibElement *crntElem)
{ {
if(crntElem->type() == eUBLibElementType_Folder) if(crntElem->type() == eUBLibElementType_Folder)
{ {
mpNewFolderBtn->setEnabled(true); if(libraryController()->canItemsOnElementBeDeleted(crntElem) && !bIsInTrash)
mpNewFolderBtn->setEnabled(true);
else
mpNewFolderBtn->setEnabled(false);
} }
else else
{ {

Loading…
Cancel
Save