From ec989781a345839423b34656beda5e7e62a98c3e Mon Sep 17 00:00:00 2001 From: Vishrut Sachan Date: Tue, 31 Mar 2026 10:28:03 +0530 Subject: [PATCH] game_list_table: Allow reordering game list columns --- rpcs3/rpcs3qt/game_list_table.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rpcs3/rpcs3qt/game_list_table.cpp b/rpcs3/rpcs3qt/game_list_table.cpp index 3d40467bb1..ec88561580 100644 --- a/rpcs3/rpcs3qt/game_list_table.cpp +++ b/rpcs3/rpcs3qt/game_list_table.cpp @@ -38,6 +38,7 @@ game_list_table::game_list_table(game_list_frame* frame, std::shared_ptrsetStretchLastSection(true); horizontalHeader()->setDefaultSectionSize(150); horizontalHeader()->setDefaultAlignment(Qt::AlignLeft); + horizontalHeader()->setSectionsMovable(true); setContextMenuPolicy(Qt::CustomContextMenu); setAlternatingRowColors(true); setColumnCount(static_cast(gui::game_list_columns::count)); @@ -72,6 +73,8 @@ void game_list_table::restore_layout(const QByteArray& state) // Nothing to do } + // Re-apply after restoreState() since it resets setSectionsMovable to false + horizontalHeader()->setSectionsMovable(true); // Make sure no columns are squished fix_narrow_columns();