mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-05-07 13:37:46 +00:00
Qt: Relax game_list deselection checks
This commit is contained in:
parent
6489fca16b
commit
d837d68ae6
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue