diff --git a/Source/Core/DolphinQt2/GameList/GameList.cpp b/Source/Core/DolphinQt2/GameList/GameList.cpp index 90510c5b04..1402cfeaa5 100644 --- a/Source/Core/DolphinQt2/GameList/GameList.cpp +++ b/Source/Core/DolphinQt2/GameList/GameList.cpp @@ -484,7 +484,8 @@ void GameList::OnColumnVisibilityToggled(const QString& row, bool visible) {tr("Platform"), GameListModel::COL_PLATFORM}, {tr("Size"), GameListModel::COL_SIZE}, {tr("Title"), GameListModel::COL_TITLE}, - {tr("State"), GameListModel::COL_RATING}}; + {tr("State"), GameListModel::COL_RATING}, + {tr("File Name"), GameListModel::COL_FILE_NAME}}; m_list->setColumnHidden(rowname_to_col_index[row], !visible); } diff --git a/Source/Core/DolphinQt2/GameList/GameListModel.cpp b/Source/Core/DolphinQt2/GameList/GameListModel.cpp index f6060c1deb..01744150a3 100644 --- a/Source/Core/DolphinQt2/GameList/GameListModel.cpp +++ b/Source/Core/DolphinQt2/GameList/GameListModel.cpp @@ -101,6 +101,7 @@ QVariant GameListModel::data(const QModelIndex& index, int role) const case COL_FILE_NAME: if (role == Qt::DisplayRole || role == Qt::InitialSortOrderRole) return game->GetFileName(); + break; case COL_SIZE: if (role == Qt::DisplayRole) return FormatSize(game->GetFileSize());