Changeset 19005 in josm


Ignore:
Timestamp:
2024-03-03T16:38:02+01:00 (2 months ago)
Author:
GerdP
Message:

fix #23519: Don't automatically enlarge "Validation Results" panel

  • show and unfurl "Validation Results" panel if not yet visible unless the tree is empty and the validation was triggered by an upload (see #23187)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/ValidationTask.java

    r19000 r19005  
    143143                if (!map.validatorDialog.isShowing() && errors.isEmpty() && beforeUpload)
    144144                    return;
    145                 if (Boolean.TRUE.equals(ValidatorPrefHelper.PREF_UNFURL.get()))
     145                if (!map.validatorDialog.isShowing() || Boolean.TRUE.equals(ValidatorPrefHelper.PREF_UNFURL.get()))
    146146                    map.validatorDialog.unfurlDialog();
    147147                map.validatorDialog.tree.setErrors(errors);
Note: See TracChangeset for help on using the changeset viewer.