mirror of
https://github.com/Rosalie241/RMG.git
synced 2026-11-17 19:24:05 +01:00
RMG: show context menu even when not having a selection
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user