summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorAnthony <Helios747@users.noreply.github.com>2017-06-09 10:49:12 -0700
committerGitHub <noreply@github.com>2017-06-09 10:49:12 -0700
commitc900829eeeded635ddf3fc2af020ce9c36c44a99 (patch)
tree1e8e3e885d6fdeb4dffee54c792be4b882183b55 /Source/Core
parent1f30bd1f26feafeee2cfd32c43ef34bcec42d07f (diff)
parent025884b688d94fa979d86c3f98876257efb2fec9 (diff)
Merge pull request #5586 from JosJuice/expand-game-partition
FilesystemPanel: Expand game partition rather than second partition
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/ISOProperties/FilesystemPanel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/ISOProperties/FilesystemPanel.cpp b/Source/Core/DolphinWX/ISOProperties/FilesystemPanel.cpp
index aca91fa0a4..955c5bae50 100644
--- a/Source/Core/DolphinWX/ISOProperties/FilesystemPanel.cpp
+++ b/Source/Core/DolphinWX/ISOProperties/FilesystemPanel.cpp
@@ -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);
}
}