GUI: implement "clear all subsongs"
This commit is contained in:
parent
b8a4fdb4c6
commit
c4614bff30
3 changed files with 14 additions and 4 deletions
|
|
@ -3494,10 +3494,7 @@ bool FurnaceGUI::loop() {
|
|||
case GUI_WARN_CLEAR:
|
||||
if (ImGui::Button("All subsongs")) {
|
||||
stop();
|
||||
//e->lockEngine([this]() {
|
||||
//e->curSubSong->clearData();
|
||||
//});
|
||||
e->setOrder(0);
|
||||
e->clearSubSongs();
|
||||
curOrder=0;
|
||||
oldOrder=0;
|
||||
oldOrder1=0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue