dont show menu when right-clicking nothing
This commit is contained in:
parent
719bec41db
commit
d56220922a
1 changed files with 2 additions and 0 deletions
|
@ -472,6 +472,8 @@ namespace Ryujinx.Ui
|
|||
|
||||
_gameTableSelection.GetSelected(out TreeIter treeIter);
|
||||
|
||||
if (treeIter.UserData == IntPtr.Zero) return;
|
||||
|
||||
GameTableContextMenu contextMenu = new GameTableContextMenu(_tableStore, treeIter);
|
||||
contextMenu.ShowAll();
|
||||
contextMenu.PopupAtPointer(null);
|
||||
|
|
Loading…
Add table
Reference in a new issue