diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index eb312e13b..74b1a82af 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -5591,6 +5591,8 @@ bool FurnaceGUI::loop() { } else { // replace with the only instrument if (curIns>=0 && curIns<(int)e->song.ins.size()) { *e->song.ins[curIns]=*instruments[0]; + // reset macro zoom + memset(e->song.ins[curIns]->temp.vZoom,-1,sizeof(e->song.ins[curIns]->temp.vZoom)); MARK_MODIFIED; } else { showError(_("...but you haven't selected an instrument!")); @@ -6787,6 +6789,8 @@ bool FurnaceGUI::loop() { if (i.second) { if (curIns>=0 && curIns<(int)e->song.ins.size()) { *e->song.ins[curIns]=*i.first; + // reset macro zoom + memset(e->song.ins[curIns]->temp.vZoom,-1,sizeof(e->song.ins[curIns]->temp.vZoom)); } else { showError(_("...but you haven't selected an instrument!")); }