- Timestamp:
- 2014-08-17T01:47:11+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageViewerDialog.java
r7320 r7426 53 53 } 54 54 55 /** 56 * Replies the unique instance of this dialog 57 * @return the unique instance 58 */ 55 59 public static ImageViewerDialog getInstance() { 56 60 if (dialog == null) … … 66 70 super(tr("Geotagged Images"), "geoimage", tr("Display geotagged images"), Shortcut.registerShortcut("tools:geotagged", 67 71 tr("Tool: {0}", tr("Display geotagged images")), KeyEvent.VK_Y, Shortcut.DIRECT), 200); 68 69 // Don't show a detached dialog right from the start.70 if (isShowing && !isDocked) {71 setIsShowing(false);72 }73 72 74 73 JPanel content = new JPanel(); … … 290 289 291 290 /** 292 * When pressing the Toggle button always show the docked dialog.293 */294 @Override295 protected void toggleButtonHook() {296 if (! isShowing) {297 setIsDocked(true);298 setIsCollapsed(false);299 }300 }301 302 /**303 291 * When an image is closed, really close it and do not pop 304 292 * up the side dialog.
Note:
See TracChangeset
for help on using the changeset viewer.