diff options
Diffstat (limited to 'src/devmenu/NotesEditor.java')
-rw-r--r-- | src/devmenu/NotesEditor.java | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/devmenu/NotesEditor.java b/src/devmenu/NotesEditor.java index 269bf84..2ac0c88 100644 --- a/src/devmenu/NotesEditor.java +++ b/src/devmenu/NotesEditor.java @@ -85,15 +85,17 @@ public class NotesEditor private void stop() { - try { - Driver.soundController.endSong(); - diff.numBeats = (int)timer.time(); - timer = null; - writer.close(); - help.setText(t1); + try + { + Driver.soundController.endSong(); + diff.numBeats = (int)timer.time(); + timer = null; + writer.close(); + help.setText(t1); } catch (Exception e) { + //System.err.println("tried to stop but already stopped"); } } }
\ No newline at end of file |