Fix #7912: 'New folder' and 'New file' buttons are missing (#7926)

This commit is contained in:
Aaron van Geffen 2018-08-22 00:00:44 +02:00 committed by GitHub
parent e7af3290c0
commit f8c765f798
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ rct_window* window_loadsave_open(int32_t type, const char* defaultName, loadsave
}
const char* pattern = getFilterPatternByType(type, isSave);
window_loadsave_populate_list(w, false, path, pattern);
window_loadsave_populate_list(w, isSave, path, pattern);
w->no_list_items = static_cast<uint16_t>(_listItems.size());
w->selected_list_item = -1;