Browse Source

Move Import Selection menu item to File menu bar.

tags/v2.0.4
Andrew Belt 2 years ago
parent
commit
02e9c1dd65
2 changed files with 7 additions and 5 deletions
  1. +7
    -0
      src/app/MenuBar.cpp
  2. +0
    -5
      src/app/RackWidget.cpp

+ 7
- 0
src/app/MenuBar.cpp View File

@@ -107,6 +107,13 @@ struct FileButton : MenuButton {

menu->addChild(new ui::MenuSeparator);

// Load selection
menu->addChild(createMenuItem("Import selection", "", [=]() {
APP->scene->rack->loadSelectionDialog();
}, false, true));

menu->addChild(new ui::MenuSeparator);

menu->addChild(createMenuItem("Quit", RACK_MOD_CTRL_NAME "+Q", []() {
APP->window->close();
}));


+ 0
- 5
src/app/RackWidget.cpp View File

@@ -1235,11 +1235,6 @@ void RackWidget::appendSelectionContextMenu(ui::Menu* menu) {
pasteClipboardAction();
}, false, true));

// Load
menu->addChild(createMenuItem("Import selection", "", [=]() {
loadSelectionDialog();
}, false, true));

// Save
menu->addChild(createMenuItem("Save selection as", "", [=]() {
saveSelectionDialog();


Loading…
Cancel
Save