Browse Source

Disable ZynAddSubFX NIO settings menu action

tags/1.9.7
falkTX 9 years ago
parent
commit
9cdf9f5b8b
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      source/native-plugins/zynaddsubfx-ui.cpp

+ 8
- 0
source/native-plugins/zynaddsubfx-ui.cpp View File

@@ -229,7 +229,15 @@ int main(int argc, const char* argv[])
gui = GUI::createUi(new UI_Interface(), &Pexitprogram);

if (argc == 1)
{
// testing only
GUI::raiseUi(gui, "/show", "i", 1);
}
else
{
// full thing
MasterUI::menu_mastermenu[11].hide(); // file -> nio settings
}

if (uiTitle != nullptr && uiTitle[0] != '\0')
GUI::raiseUi(gui, "/ui/title", "s", uiTitle);


Loading…
Cancel
Save