|
|
@@ -10,6 +10,7 @@ |
|
|
|
#include <ui/Menu.hpp> |
|
|
|
#include <ui/MenuSeparator.hpp> |
|
|
|
#include <helpers.hpp> |
|
|
|
#include <window/Window.hpp> |
|
|
|
|
|
|
|
|
|
|
|
namespace rack { |
|
|
@@ -173,6 +174,13 @@ void Model::appendContextMenu(ui::Menu* menu, bool inBrowser) { |
|
|
|
})); |
|
|
|
} |
|
|
|
|
|
|
|
// author email |
|
|
|
if (plugin->authorEmail != "") { |
|
|
|
menu->addChild(createMenuItem("Author email", "Copy to clipboard", [=]() { |
|
|
|
glfwSetClipboardString(APP->window->win, plugin->authorEmail.c_str()); |
|
|
|
})); |
|
|
|
} |
|
|
|
|
|
|
|
// plugin folder |
|
|
|
if (plugin->path != "") { |
|
|
|
menu->addChild(createMenuItem("Open plugin folder", "", [=]() { |
|
|
|