Ignore:
Timestamp:
2020-10-11T11:23:04+02:00 (5 years ago)
Author:
simon04
Message:

see #7548 - Re-organize the preference dialog (connection preferences)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/server/AuthenticationPreferencesPanel.java

    r12931 r17160  
    1616import javax.swing.JPanel;
    1717import javax.swing.JRadioButton;
    18 import javax.swing.JSeparator;
    1918
    2019import org.openstreetmap.josm.data.oauth.OAuthAccessTokenHolder;
     
    4241    /** the panel for the OAuth authentication parameters */
    4342    private OAuthAuthenticationPreferencesPanel pnlOAuthPreferences;
    44     /** the panel for messages notifier preferences */
    45     private FeaturesPanel pnlFeaturesPreferences;
    4643
    4744    /**
     
    10299        rbBasicAuthentication.setSelected(true);
    103100        pnlAuthenticationParameteters.add(pnlBasicAuthPreferences, BorderLayout.CENTER);
    104 
    105         gc.gridy = 2;
    106         add(new JSeparator(), gc);
    107 
    108         //-- the panel for API feature preferences
    109         gc.gridy = 3;
    110         gc.fill = GridBagConstraints.NONE;
    111         pnlFeaturesPreferences = new FeaturesPanel();
    112         add(pnlFeaturesPreferences, gc);
    113101    }
    114102
     
    129117        pnlBasicAuthPreferences.initFromPreferences();
    130118        pnlOAuthPreferences.initFromPreferences();
    131         pnlFeaturesPreferences.initFromPreferences();
    132119    }
    133120
     
    155142            pnlOAuthPreferences.saveToPreferences();
    156143        }
    157         // save message notifications preferences. To be done after authentication preferences.
    158         pnlFeaturesPreferences.saveToPreferences();
    159144    }
    160145
Note: See TracChangeset for help on using the changeset viewer.