diff options
| author | 2016-04-30 02:40:54 +0300 | |
|---|---|---|
| committer | 2016-05-04 13:02:49 +0300 | |
| commit | 0176e2786fc7a042e06abb2d6ce8a3eb95e96e28 (patch) | |
| tree | db11089f4597bccde14fd0cf1206eed6d0150435 /src | |
| parent | add icon & title to game list (diff) | |
| download | yuzu-0176e2786fc7a042e06abb2d6ce8a3eb95e96e28.tar.gz yuzu-0176e2786fc7a042e06abb2d6ce8a3eb95e96e28.tar.xz yuzu-0176e2786fc7a042e06abb2d6ce8a3eb95e96e28.zip | |
make the name column larger as default
Diffstat (limited to 'src')
| -rw-r--r-- | src/citra_qt/game_list.cpp | 6 |
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() | |||
| 109 | void GameList::LoadInterfaceLayout() | 109 | void 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 | } |