Qt: Fix savestate table selection style

This commit is contained in:
Megamouse
2025-09-18 22:55:44 +02:00
parent 335ed8d91b
commit cc3b1163f1

View File

@@ -82,7 +82,7 @@ savestate_manager_dialog::savestate_manager_dialog(std::shared_ptr<gui_settings>
m_savestate_table->verticalScrollBar()->installEventFilter(this);
m_savestate_table->verticalScrollBar()->setSingleStep(20);
m_savestate_table->horizontalScrollBar()->setSingleStep(20);
m_savestate_table->setItemDelegate(new game_list_delegate(m_savestate_table));
m_savestate_table->setItemDelegate(new table_item_delegate(m_savestate_table, false));
m_savestate_table->setSelectionBehavior(QAbstractItemView::SelectRows);
m_savestate_table->setEditTriggers(QAbstractItemView::NoEditTriggers);
m_savestate_table->setColumnCount(static_cast<int>(gui::savestate_list_columns::count));