diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index bfb22fd2f..1c55f0a8d 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -1274,6 +1274,7 @@ void FurnaceGUI::valueInput(int num, bool direct, int target) { } else { if (e->getMaxVolumeChan(cursor.xCoarse)<16) { curNibble=false; + if (pat->data[cursor.y][target]>e->getMaxVolumeChan(cursor.xCoarse)) pat->data[cursor.y][target]=e->getMaxVolumeChan(cursor.xCoarse); editAdvance(); } else { curNibble=!curNibble;