Fix -PKG Viewer -Button install (#2113)

https://github.com/shadps4-emu/shadPS4/issues/2112
This commit is contained in:
DanielSvoboda 2025-01-10 17:58:41 -03:00 committed by GitHub
parent e656093d85
commit 4a21d94871
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,6 +47,9 @@ PKGViewer::PKGViewer(std::shared_ptr<GameInfoClass> game_info_get, QWidget* pare
connect(treeWidget, &QTreeWidget::customContextMenuRequested, this,
[=, this](const QPoint& pos) {
if (treeWidget->selectedItems().isEmpty()) {
return;
}
m_gui_context_menus.RequestGameMenuPKGViewer(pos, m_full_pkg_list, treeWidget,
InstallDragDropPkg);
});