Inst type combo box shows all the instruments
This commit is contained in:
parent
101e2c4383
commit
577c281a17
|
@ -730,7 +730,7 @@ void FurnaceGUI::drawInsEdit() {
|
||||||
ImGui::InputText("Name",&ins->name);
|
ImGui::InputText("Name",&ins->name);
|
||||||
if (ins->type<0 || ins->type>23) ins->type=DIV_INS_FM;
|
if (ins->type<0 || ins->type>23) ins->type=DIV_INS_FM;
|
||||||
int insType=ins->type;
|
int insType=ins->type;
|
||||||
if (ImGui::Combo("Type",&insType,insTypes,24)) {
|
if (ImGui::Combo("Type",&insType,insTypes,24,24)) {
|
||||||
ins->type=(DivInstrumentType)insType;
|
ins->type=(DivInstrumentType)insType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue