]> ruin.nu Git - moosique.git/blobdiff - MooDialog.java
Fixed exit if sequence unsaved prompt.
[moosique.git] / MooDialog.java
index 54d6fdfb71308c4683c8a4fcdb77ba281d8d4a25..333d741b59d260708ffa6c064206aa7a79c8cc1f 100644 (file)
@@ -419,10 +419,10 @@ public class MooDialog extends JDialog {
                                                        note.setPitch(Integer.parseInt(pitch.getText()));
                                                        note.setVelocity(Integer.parseInt(velocity.getText()));
                                                        note.setDuration(Integer.parseInt(length.getText()));
-       
-                               setVisible(false);
+                                                       Moosique.setEdited();
+                                                       setVisible(false);
                            } else { // user closed dialog or clicked cancel
-                               setVisible(false);
+                               setVisible(false);
                            }
                        }
                    }