Ignore:
Timestamp:
2015-06-02T14:03:31+02:00 (9 years ago)
Author:
Don-vip
Message:

see #11209 - add debug messages

File:
1 edited

Legend:

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

    r8430 r8441  
    456456                // and the result differs from its default value
    457457                result = ExtendedDialog.DialogClosedOtherwise;
     458                if (Main.isDebugEnabled()) {
     459                    Main.debug(getClass().getName()+" ESC action performed ("+actionEvent+") from "+new Exception().getStackTrace()[1]);
     460                }
    458461                setVisible(false);
    459462            }
     
    482485        if (visible) {
    483486            repaint();
     487        }
     488
     489        if (Main.isDebugEnabled()) {
     490            Main.debug(getClass().getName()+".setVisible("+visible+") from "+new Exception().getStackTrace()[1]);
    484491        }
    485492
     
    646653
    647654    class HelpAction extends AbstractAction {
     655        /**
     656         * Constructs a new {@code HelpAction}.
     657         */
    648658        public HelpAction() {
    649659            putValue(SHORT_DESCRIPTION, tr("Show help information"));
Note: See TracChangeset for help on using the changeset viewer.