Ignore:
Timestamp:
2016-03-03T23:06:36+01:00 (8 years ago)
Author:
Don-vip
Message:

better handling of HelpAwareOptionPane.showOptionDialog in headless mode

File:
1 edited

Legend:

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

    r9355 r9917  
    171171                )
    172172        };
    173         int ret = HelpAwareOptionPane.showOptionDialog(
     173        return 0 == HelpAwareOptionPane.showOptionDialog(
    174174                this,
    175175                tr(
     
    184184                HelpUtil.ht("/Dialog/OAuthAuthorisationWizard")
    185185        );
    186 
    187         return ret == 0; // OK button clicked
    188186    }
    189187
Note: See TracChangeset for help on using the changeset viewer.