From cbba687ffab9b0831116a4926bbf343546669880 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Wed, 3 Dec 2025 00:08:13 +0100 Subject: [PATCH] Qt: Relax game_list deselection checks --- rpcs3/rpcs3qt/game_list.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpcs3/rpcs3qt/game_list.cpp b/rpcs3/rpcs3qt/game_list.cpp index c5eba4efd3..70089d650e 100644 --- a/rpcs3/rpcs3qt/game_list.cpp +++ b/rpcs3/rpcs3qt/game_list.cpp @@ -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