Ignore:
Timestamp:
2016-10-30T22:32:05+01:00 (7 years ago)
Author:
Don-vip
Message:

fix #13881 - handle cases where JOptionPane.showInputDialog returns an empty string

File:
1 edited

Legend:

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

    r11173 r11198  
    817817            while (true) {
    818818                s = JOptionPane.showInputDialog(this, tr("Please enter the number of recently added tags to display"), s);
    819                 if (s == null) {
     819                if (s == null || s.isEmpty()) {
    820820                    return;
    821821                }
Note: See TracChangeset for help on using the changeset viewer.