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