Merge pull request #6947 from JosJuice/unencrypted-wii-disc

Make the support for unencrypted Wii disc images less broken
This commit is contained in:
Léo Lam
2018-05-26 11:56:51 +02:00
committed by GitHub
10 changed files with 90 additions and 32 deletions

View File

@ -219,9 +219,12 @@ void FilesystemWidget::ShowContextMenu(const QPoint&)
if (!folder.isEmpty())
ExtractPartition(partition, folder);
});
menu->addSeparator();
AddAction(menu, tr("Check Partition Integrity"), this,
[this, partition] { CheckIntegrity(partition); });
if (m_volume->IsEncryptedAndHashed())
{
menu->addSeparator();
AddAction(menu, tr("Check Partition Integrity"), this,
[this, partition] { CheckIntegrity(partition); });
}
break;
case EntryType::File:
AddAction(menu, tr("Extract File..."), this, [this, partition, path] {