Add "duplicate" to inst. list context menu.
It's right at the top of the menu, purely because that's the order the buttons are in.
This commit is contained in:
parent
cb8ed42cd6
commit
4450ebb7aa
|
@ -133,6 +133,9 @@ void FurnaceGUI::insListItem(int i, int dir, int asset) {
|
|||
curIns=i;
|
||||
updateFMPreview=true;
|
||||
ImGui::PushStyleColor(ImGuiCol_Text,uiColors[GUI_COLOR_TEXT]);
|
||||
if (ImGui::MenuItem("duplicate")) {
|
||||
doAction(GUI_ACTION_INS_LIST_DUPLICATE);
|
||||
}
|
||||
if (ImGui::MenuItem("replace...")) {
|
||||
doAction((curIns>=0 && curIns<(int)e->song.ins.size())?GUI_ACTION_INS_LIST_OPEN_REPLACE:GUI_ACTION_INS_LIST_OPEN);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue