mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
Qt: Disable game properties for playlist entries
This commit is contained in:
parent
2a61620dae
commit
0ea2ced46d
|
@ -521,7 +521,9 @@ void MainWindow::onGameListContextMenuRequested(const QPoint& point, const GameL
|
|||
// Hopefully this pointer doesn't disappear... it shouldn't.
|
||||
if (entry)
|
||||
{
|
||||
connect(menu.addAction(tr("Properties...")), &QAction::triggered,
|
||||
QAction* action = menu.addAction(tr("Properties..."));
|
||||
action->setEnabled(entry->type == GameListEntryType::Disc);
|
||||
connect(action, &QAction::triggered,
|
||||
[this, entry]() { GamePropertiesDialog::showForEntry(m_host_interface, entry, this); });
|
||||
|
||||
connect(menu.addAction(tr("Open Containing Directory...")), &QAction::triggered, [this, entry]() {
|
||||
|
|
Loading…
Reference in a new issue