fix moving subsongs not marking as modified
This commit is contained in:
parent
684d041dbb
commit
61ac87d505
1 changed files with 2 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ void FurnaceGUI::drawSubSongs(bool asChild) {
|
|||
ImGui::PushID(i);
|
||||
if (ImGui::SmallButton(ICON_FA_ARROW_UP "##SubUp")) {
|
||||
e->moveSubSongUp(i);
|
||||
MARK_MODIFIED;
|
||||
}
|
||||
if (ImGui::IsItemHovered()) {
|
||||
ImGui::SetTooltip(_("Move up"));
|
||||
|
|
@ -60,6 +61,7 @@ void FurnaceGUI::drawSubSongs(bool asChild) {
|
|||
ImGui::SameLine();
|
||||
if (ImGui::SmallButton(ICON_FA_ARROW_DOWN "##SubDown")) {
|
||||
e->moveSubSongDown(i);
|
||||
MARK_MODIFIED;
|
||||
}
|
||||
if (ImGui::IsItemHovered()) {
|
||||
ImGui::SetTooltip(_("Move down"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue