This commit is contained in:
Yorick
2015-04-08 13:14:52 +02:00
parent 1e5d95733f
commit 9066d0212f
3 changed files with 3 additions and 1 deletions
+3 -1
View File
@@ -71,7 +71,9 @@ public class Mouse extends MouseAdapter
{ {
if (SwingUtilities.isRightMouseButton(e)) if (SwingUtilities.isRightMouseButton(e))
{ {
new WaypointPopup(o); if(o instanceof Waypoint){
new WaypointPopup(o);
}
} }
if (o == selectedObject) if (o == selectedObject)
{ {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB