mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-15 11:25:13 +00:00
Fix -PKG Viewer -Button install (#2113)
https://github.com/shadps4-emu/shadPS4/issues/2112
This commit is contained in:
parent
e656093d85
commit
4a21d94871
|
@ -47,6 +47,9 @@ PKGViewer::PKGViewer(std::shared_ptr<GameInfoClass> game_info_get, QWidget* pare
|
||||||
|
|
||||||
connect(treeWidget, &QTreeWidget::customContextMenuRequested, this,
|
connect(treeWidget, &QTreeWidget::customContextMenuRequested, this,
|
||||||
[=, this](const QPoint& pos) {
|
[=, this](const QPoint& pos) {
|
||||||
|
if (treeWidget->selectedItems().isEmpty()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
m_gui_context_menus.RequestGameMenuPKGViewer(pos, m_full_pkg_list, treeWidget,
|
m_gui_context_menus.RequestGameMenuPKGViewer(pos, m_full_pkg_list, treeWidget,
|
||||||
InstallDragDropPkg);
|
InstallDragDropPkg);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue