summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/citra_qt/game_list.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/citra_qt/game_list.cpp b/src/citra_qt/game_list.cpp
index 32339e6a6..d4ac9c96e 100644
--- a/src/citra_qt/game_list.cpp
+++ b/src/citra_qt/game_list.cpp
@@ -109,7 +109,11 @@ void GameList::SaveInterfaceLayout()
109void GameList::LoadInterfaceLayout() 109void GameList::LoadInterfaceLayout()
110{ 110{
111 auto header = tree_view->header(); 111 auto header = tree_view->header();
112 header->restoreState(UISettings::values.gamelist_header_state); 112 if (!header->restoreState(UISettings::values.gamelist_header_state)) {
113 // We are using the name column to display icons and titles
114 // so make it as large as possible as default.
115 header->resizeSection(COLUMN_NAME, header->width());
116 }
113 117
114 item_model->sort(header->sortIndicatorSection(), header->sortIndicatorOrder()); 118 item_model->sort(header->sortIndicatorSection(), header->sortIndicatorOrder());
115} 119}