2
0
Fork 0

Update PluginEditor.cpp

Show full version string
This commit is contained in:
George Reales 2021-09-24 07:55:44 +02:00
parent e62120dbd6
commit d79cea31f1

View file

@ -910,7 +910,7 @@ void ObxdAudioProcessorEditor::createMenu ()
#if defined(JUCE_MAC) || defined(WIN32) #if defined(JUCE_MAC) || defined(WIN32)
PopupMenu helpMenu; PopupMenu helpMenu;
helpMenu.setLookAndFeel(&this->getLookAndFeel()); helpMenu.setLookAndFeel(&this->getLookAndFeel());
String version = String("Release ") + String(JucePlugin_VersionString).dropLastCharacters(2); String version = String("Release ") + String(JucePlugin_VersionString);//.dropLastCharacters(2);
helpMenu.addItem(menuScaleNum+4, "Manual", true); helpMenu.addItem(menuScaleNum+4, "Manual", true);
helpMenu.addItem(menuScaleNum+3, version, false); helpMenu.addItem(menuScaleNum+3, version, false);
menu->addSubMenu("Help", helpMenu, true); menu->addSubMenu("Help", helpMenu, true);