mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
Qt: Relax game_list deselection checks
This commit is contained in:
parent
6489fca16b
commit
d837d68ae6
|
|
@ -117,7 +117,8 @@ void game_list::fix_narrow_columns()
|
|||
|
||||
void game_list::mousePressEvent(QMouseEvent* event)
|
||||
{
|
||||
if (QTableWidgetItem* item = itemAt(event->pos()); !item || !item->data(Qt::UserRole).isValid())
|
||||
// Handle deselction when clicking on empty space in the table
|
||||
if (!itemAt(event->pos()))
|
||||
{
|
||||
clearSelection();
|
||||
setCurrentItem(nullptr); // Needed for currentItemChanged
|
||||
|
|
|
|||
Loading…
Reference in a new issue