Browse Source

Disable Duplicate module selection menu item when nothing is selected.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
474dfdd26b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/app/RackWidget.cpp

+ 1
- 1
src/app/RackWidget.cpp View File

@@ -884,7 +884,7 @@ void RackWidget::appendSelectionContextMenu(ui::Menu* menu) {
// Duplicate // Duplicate
menu->addChild(createMenuItem("Duplicate", RACK_MOD_CTRL_NAME "+D", [=]() { menu->addChild(createMenuItem("Duplicate", RACK_MOD_CTRL_NAME "+D", [=]() {
cloneSelectedModulesAction(); cloneSelectedModulesAction();
}));
}, n == 0));


// Bypass // Bypass
std::string bypassText = RACK_MOD_CTRL_NAME "+E"; std::string bypassText = RACK_MOD_CTRL_NAME "+E";


Loading…
Cancel
Save