RMG: show context menu even when not having a selection

This commit is contained in:
Rosalie Wanders committed 2022-12-28 00:10:56 +01:00
1 parent 3d195c6a4d
commit 3cd113c46f
1 file changed
+1 -4
@@ -378,10 +378,7 @@ void RomBrowserWidget::customContextMenuRequested(QPoint position)
RomBrowserModelData data;
bool hasSelection = view->selectionModel()->hasSelection();
if (!this->getCurrentData(data))
{
return;
}
this->getCurrentData(data);
this->action_PlayGame->setEnabled(hasSelection);
this->action_PlayGameWithDisk->setEnabled(hasSelection);