Skip to content

Commit

Permalink
mark as modified when collapsing/expanding song
Browse files Browse the repository at this point in the history
  • Loading branch information
daliacoss authored and tildearrow committed Dec 17, 2024
1 parent 1d3318c commit 67009ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/gui/editing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1722,6 +1722,9 @@ void FurnaceGUI::doCollapseSong(int divider) {
}
}
}

MARK_MODIFIED;

// magic
unsigned char* subSongInfoCopy=new unsigned char[1024];
memcpy(subSongInfoCopy,e->curSubSong,1024);
Expand Down Expand Up @@ -1802,6 +1805,9 @@ void FurnaceGUI::doExpandSong(int multiplier) {
}
}
}

MARK_MODIFIED;

// magic
unsigned char* subSongInfoCopy=new unsigned char[1024];
memcpy(subSongInfoCopy,e->curSubSong,1024);
Expand Down

0 comments on commit 67009ed

Please sign in to comment.