aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAidan Ross <aross02@fairport.org>2023-06-02 13:12:48 -0400
committerAidan Ross <aross02@fairport.org>2023-06-02 13:12:48 -0400
commit1dc1ebff63298acb0f2859ca514e8ac4a17c5175 (patch)
tree79ecfb2176c069345e617ef9ef3628828f7920d4 /src
parent9567c39c55d8c5889126d03fccbbfed077b19d1b (diff)
parent59087e16afe678d2957b4bfe6a145327586d6016 (diff)
downloadNPEhero-1dc1ebff63298acb0f2859ca514e8ac4a17c5175.tar.gz
NPEhero-1dc1ebff63298acb0f2859ca514e8ac4a17c5175.tar.bz2
NPEhero-1dc1ebff63298acb0f2859ca514e8ac4a17c5175.zip
Merge branch 'main' of https://gitlab.sowgro.net/npeinc/npehero
Diffstat (limited to 'src')
-rw-r--r--src/devmenu/NotesEditor.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devmenu/NotesEditor.java b/src/devmenu/NotesEditor.java
index e94ff2e..64365da 100644
--- a/src/devmenu/NotesEditor.java
+++ b/src/devmenu/NotesEditor.java
@@ -92,10 +92,15 @@ public class NotesEditor
private void stop()
{
+ try {
mediaPlayer.stop();
diff.numBeats = (int)timer.time();
timer = null;
writer.close();
help.setText(t1);
+ }
+ catch (Exception e)
+ {
+ }
}
} \ No newline at end of file