Merge pull request #5586 from JosJuice/expand-game-partition

FilesystemPanel: Expand game partition rather than second partition
This commit is contained in:
Anthony 2017-06-09 10:49:12 -07:00 committed by GitHub
commit c900829eee
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ bool FilesystemPanel::PopulateFileSystemTree()
m_tree_ctrl->SetItemData(partition_root, partition);
CreateDirectoryTree(m_tree_ctrl, partition_root, partition->filesystem->GetFileList());
if (i == 1)
if (partitions[i] == m_opened_iso->GetGamePartition())
m_tree_ctrl->Expand(partition_root);
}
}