fixed naming of 'delete folder' actions

preferencesAboutTextFull
Clément Fauconnier 3 years ago
parent 173fe34355
commit 443c03cbb6
  1. 4
      src/document/UBDocumentController.cpp

@ -3513,7 +3513,7 @@ void UBDocumentController::updateActions()
if (mSelectionType == Folder) if (mSelectionType == Folder)
{ {
mMainWindow->actionDelete->setIcon(QIcon(":/images/trash-folder.png")); mMainWindow->actionDelete->setIcon(QIcon(":/images/trash-folder.png"));
mMainWindow->actionDelete->setText(tr("Empty")); mMainWindow->actionDelete->setText(tr("Delete"));
} }
else if (mSelectionType == Document) else if (mSelectionType == Document)
{ {
@ -3556,7 +3556,7 @@ void UBDocumentController::updateActions()
else else
{ {
mMainWindow->actionDelete->setIcon(QIcon(":/images/trash-folder.png")); mMainWindow->actionDelete->setIcon(QIcon(":/images/trash-folder.png"));
mMainWindow->actionDelete->setText(tr("Empty")); mMainWindow->actionDelete->setText(tr("Delete"));
} }
break; break;
case EmptyTrash : case EmptyTrash :

Loading…
Cancel
Save