Fixed issue sankore-35 and sankore-34

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

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

Loading…
Cancel
Save