UI: Allow remote paths to be pinned.

Currently, the listing request is synchronous, but it works fine
otherwise.
This commit is contained in:
Unknown W. Brackets committed 2019-10-06 09:31:06 -07:00
1 parent 3e12734b80
commit 2d7ce0afa3
6 files changed
+126 -81

No files matched your search

+1 -1
View File
@@ -577,7 +577,7 @@ void GameBrowser::Refresh() {
if (!isGame && !isSaveData) {
if (allowBrowsing_) {
dirButtons.push_back(new DirButton(fileInfo[i].name, new UI::LinearLayoutParams(UI::FILL_PARENT, UI::FILL_PARENT)));
dirButtons.push_back(new DirButton(fileInfo[i].fullName, fileInfo[i].name, new UI::LinearLayoutParams(UI::FILL_PARENT, UI::FILL_PARENT)));
}
} else {
gameButtons.push_back(new GameButton(fileInfo[i].fullName, *gridStyle_, new UI::LinearLayoutParams(*gridStyle_ == true ? UI::WRAP_CONTENT : UI::FILL_PARENT, UI::WRAP_CONTENT)));