fix #2182
Changed behavior of FurnaceGUI::play - explicitly providing 0 will always play from the beginning of the pattern. Default argument of -1 will result in default behavior (play from beginning unless currently stepping).
This commit is contained in:
parent
f80dd764f3
commit
901bb110cc
3 changed files with 4 additions and 4 deletions
|
|
@ -1229,7 +1229,7 @@ void FurnaceGUI::play(int row) {
|
|||
memset(lastIns,-1,sizeof(int)*DIV_MAX_CHANS);
|
||||
if (followPattern) makeCursorUndo();
|
||||
if (!followPattern) e->setOrder(curOrder);
|
||||
if (row>0) {
|
||||
if (row>=0) {
|
||||
if (!e->playToRow(row)) {
|
||||
showError(_("the song is over!"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue