Ignore:
Timestamp:
2015-02-15T22:15:48+01:00 (10 years ago)
Author:
Don-vip
Message:

fix #10882 - Implement search box for main menu (modified patch from strump)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java

    r7668 r8072  
    587587                            dialogsPanel.reconstruct(Action.ELEMENT_SHRINKS, null);
    588588                            hideNotify();
     589                            if (Main.map != null) {
     590                                // To avoid menu bar search field from taking focus when a toggle dialog is closed
     591                                Main.map.requestFocusInWindow();
     592                            }
    589593                        }
    590594                    }
Note: See TracChangeset for help on using the changeset viewer.