X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=MooDialog.java;h=a83ef8b7562e911fb4040e2049994e84a25abf62;hb=078f6f3d4afcd990dadf7cf5f05b2af39ea7b3a9;hp=54d6fdfb71308c4683c8a4fcdb77ba281d8d4a25;hpb=0c9e91d5f1f742a26c237352a4e1e7765235026c;p=moosique.git diff --git a/MooDialog.java b/MooDialog.java index 54d6fdf..a83ef8b 100644 --- a/MooDialog.java +++ b/MooDialog.java @@ -419,14 +419,15 @@ 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); } } } }); pack(); + setVisible(true); } }