Browse Source

Reorder module info context menu items.

tags/v2.0.0
Andrew Belt 4 years ago
parent
commit
da922364d3
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      src/app/ModuleWidget.cpp

+ 6
- 6
src/app/ModuleWidget.cpp View File

@@ -96,12 +96,6 @@ struct ModuleInfoItem : ui::MenuItem {

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

// library
ModuleUrlItem* libraryItem = new ModuleUrlItem;
libraryItem->text = "VCV Library page";
libraryItem->url = "https://library.vcvrack.com/" + model->plugin->slug + "/" + model->slug;
menu->addChild(libraryItem);

// manual
std::string manualUrl = (model->manualUrl != "") ? model->manualUrl : model->plugin->manualUrl;
if (manualUrl != "") {
@@ -135,6 +129,12 @@ struct ModuleInfoItem : ui::MenuItem {
menu->addChild(changelogItem);
}

// library
ModuleUrlItem* libraryItem = new ModuleUrlItem;
libraryItem->text = "VCV Library page";
libraryItem->url = "https://library.vcvrack.com/" + model->plugin->slug + "/" + model->slug;
menu->addChild(libraryItem);

// plugin folder
if (model->plugin->path != "") {
ModuleFolderItem* pathItem = new ModuleFolderItem;


Loading…
Cancel
Save