GUI: add option to show ins type menu when adding
This commit is contained in:
parent
3af2f8d2a4
commit
cc8b5d28a8
3 changed files with 18 additions and 0 deletions
|
|
@ -609,6 +609,14 @@ void FurnaceGUI::doAction(int what) {
|
|||
break;
|
||||
|
||||
case GUI_ACTION_INS_LIST_ADD:
|
||||
if (settings.insTypeMenu) {
|
||||
makeInsTypeList=e->getPossibleInsTypes();
|
||||
if (makeInsTypeList.size()>1) {
|
||||
displayInsTypeList=true;
|
||||
displayInsTypeListMakeInsSample=-1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
curIns=e->addInstrument(cursor.xCoarse);
|
||||
if (curIns==-1) {
|
||||
showError("too many instruments!");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue