Changeset 8444 in josm for trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerLayer.java
- Timestamp:
- 2015-06-02T16:41:37+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerLayer.java
r8419 r8444 150 150 } 151 151 } 152 if (! 152 if (!mousePressedInButton) 153 153 return; 154 154 mousePressed = true; … … 158 158 } 159 159 @Override public void mouseReleased(MouseEvent ev) { 160 if (ev.getButton() != MouseEvent.BUTTON1 || ! 160 if (ev.getButton() != MouseEvent.BUTTON1 || !mousePressed) 161 161 return; 162 162 mousePressed = false; … … 266 266 public boolean synchronizeAudioMarkers(final AudioMarker startMarker) { 267 267 syncAudioMarker = startMarker; 268 if (syncAudioMarker != null && ! 268 if (syncAudioMarker != null && !data.contains(syncAudioMarker)) { 269 269 syncAudioMarker = null; 270 270 } … … 506 506 @Override 507 507 public void actionPerformed(ActionEvent e) { 508 if (! 508 if (!AudioPlayer.paused()) { 509 509 JOptionPane.showMessageDialog( 510 510 Main.parent, … … 543 543 @Override 544 544 public void actionPerformed(ActionEvent e) { 545 if (! 545 if (!AudioPlayer.paused()) { 546 546 JOptionPane.showMessageDialog( 547 547 Main.parent,
Note:
See TracChangeset
for help on using the changeset viewer.