fixed bug with mapping unusable undo/redo buttons after quick-loading tape
authorHolger Schemel <info@artsoft.org>
Fri, 20 Jan 2017 20:05:58 +0000 (21:05 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 20 Jan 2017 20:05:58 +0000 (21:05 +0100)
src/tape.c

index 5e8746df2384c48d23ad92fba19010b96c4a6eeb..e97dc086c5c2318771d48d50f78527e350ff0bba 100644 (file)
@@ -710,6 +710,9 @@ void TapeTogglePause(boolean toggle_mode)
 
     // restart step/move snapshots after quick loading tape
     SaveEngineSnapshotToListInitial();
+
+    // do not map undo/redo buttons after quick loading tape
+    return;
   }
 
   if (setup.show_snapshot_buttons &&