]> ruin.nu Git - moosique.git/commitdiff
no popup while pressing ctrl
authorMichael Andreen <harv@ruin.nu>
Wed, 14 May 2003 12:48:16 +0000 (12:48 +0000)
committerMichael Andreen <harv@ruin.nu>
Wed, 14 May 2003 12:48:16 +0000 (12:48 +0000)
MooNoteElement.java

index 4b5d967ab9b3c8721020a4a236efa6352b7fd11e..1729f4aeeed79d06196fc4bb2a504de3e208b1c0 100644 (file)
@@ -139,7 +139,7 @@ public class MooNoteElement extends JPanel {
                                }
                                e.getComponent().repaint();
                        }
-                       if (e.isPopupTrigger()) {
+                       else if (e.isPopupTrigger()) {
                                popup.show(e.getComponent(), e.getX(), e.getY());
                        }
                }