Browse Source

Introjucer: disabled a "save as" menu item when it's not needed.

tags/2021-05-28
jules 10 years ago
parent
commit
7b0a6157fd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      extras/Introjucer/Source/Project/jucer_ProjectContentComponent.cpp

+ 1
- 1
extras/Introjucer/Source/Project/jucer_ProjectContentComponent.cpp View File

@@ -764,7 +764,7 @@ void ProjectContentComponent::getCommandInfo (const CommandID commandID, Applica
result.setInfo ("Save As...",
"Saves the current document to a new location",
CommandCategories::general, 0);
result.setActive (currentDocument != nullptr || project != nullptr);
result.setActive (currentDocument != nullptr);
result.defaultKeypresses.add (KeyPress ('s', ModifierKeys::commandModifier | ModifierKeys::shiftModifier, 0));
break;


Loading…
Cancel
Save