From f8ddf4d7c9f15c0ca9866384b6460ec4c52d88af Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Thu, 26 Oct 2006 23:40:48 +0000 Subject: [PATCH] Restored correct behavior in a non-fallthrough way. (And personally, I think falling-through is fine if documented. Maybe we need a @FallThrough annotation so that the compiler can be our best friend.) git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@117 c613c5cb-e716-0410-b11b-feb51c14d237 --- src/java/com/threerings/stage/tools/editor/PortalTool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/threerings/stage/tools/editor/PortalTool.java b/src/java/com/threerings/stage/tools/editor/PortalTool.java index 2bb8486c..e76845ad 100644 --- a/src/java/com/threerings/stage/tools/editor/PortalTool.java +++ b/src/java/com/threerings/stage/tools/editor/PortalTool.java @@ -68,10 +68,10 @@ public class PortalTool extends MouseInputAdapter switch (event.getButton()) { case MouseEvent.BUTTON1: savePortal(); + dispose(); break; case MouseEvent.BUTTON3: - savePortal(); dispose(); break; }