summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-07-17 19:04:07 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-07-29 12:50:30 +0200
commitb317942131ba48577e8303c475e9720fd93e54c7 (patch)
treefe15e383d0f0f53c14d0033cdcb831ade12a74d4
parentmain: Remove assert for opening savedata when program_id = 0 (diff)
downloadyuzu-b317942131ba48577e8303c475e9720fd93e54c7.tar
yuzu-b317942131ba48577e8303c475e9720fd93e54c7.tar.gz
yuzu-b317942131ba48577e8303c475e9720fd93e54c7.tar.bz2
yuzu-b317942131ba48577e8303c475e9720fd93e54c7.tar.lz
yuzu-b317942131ba48577e8303c475e9720fd93e54c7.tar.xz
yuzu-b317942131ba48577e8303c475e9720fd93e54c7.tar.zst
yuzu-b317942131ba48577e8303c475e9720fd93e54c7.zip
-rw-r--r--src/yuzu/game_list.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp
index 20073f3c8..62acc3720 100644
--- a/src/yuzu/game_list.cpp
+++ b/src/yuzu/game_list.cpp
@@ -491,7 +491,13 @@ void GameList::AddGamePopup(QMenu& context_menu, u64 program_id, std::string pat
context_menu.addSeparator();
QAction* properties = context_menu.addAction(tr("Properties"));
- open_save_location->setEnabled(program_id != 0);
+ open_save_location->setVisible(program_id != 0);
+ open_mod_location->setVisible(program_id != 0);
+ open_transferable_shader_cache->setVisible(program_id != 0);
+ remove_update->setVisible(program_id != 0);
+ remove_dlc->setVisible(program_id != 0);
+ remove_shader_cache->setVisible(program_id != 0);
+ remove_all_content->setVisible(program_id != 0);
auto it = FindMatchingCompatibilityEntry(compatibility_list, program_id);
navigate_to_gamedb_entry->setVisible(it != compatibility_list.end() && program_id != 0);