SaveTool: change some conditions.
This commit is contained in:
parent
688e61b9ae
commit
e2d473da44
1 changed files with 2 additions and 2 deletions
|
@ -41,11 +41,11 @@ void SaveTool::drawMainMenu() {
|
|||
}
|
||||
|
||||
if(ImGui::BeginMenu(ICON_FA_FOLDER_OPEN " Open manager directory")) {
|
||||
if(ImGui::MenuItem(ICON_FA_FILE_ARCHIVE " Profile backups", nullptr, false, _profileManager != nullptr)) {
|
||||
if(ImGui::MenuItem(ICON_FA_FILE_ARCHIVE " Profile backups", nullptr, false, Utility::Directory::exists(_backupsDir))) {
|
||||
openUri(Utility::Directory::toNativeSeparators(_backupsDir));
|
||||
}
|
||||
|
||||
if(ImGui::MenuItem(ICON_FA_EXCHANGE_ALT " Staging area", nullptr, false, _massManager != nullptr)) {
|
||||
if(ImGui::MenuItem(ICON_FA_EXCHANGE_ALT " Staging area", nullptr, false, Utility::Directory::exists(_stagingDir))) {
|
||||
openUri(Utility::Directory::toNativeSeparators(_stagingDir));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue