Save only accounts that has been modified.

cusax-fix
Yana Stamcheva 18 years ago
parent b04e3f61cb
commit d36cb1339e

@ -86,6 +86,8 @@ public AccountsConfigurationForm(MainFrame mainFrame)
this.buttonsPanel.add(newButton);
this.buttonsPanel.add(saveButton);
this.getRootPane().setDefaultButton(saveButton);
this.scrollPane.getViewport().add(wrapAccountsPanel);
this.wrapAccountsPanel.add(accountsPanel, BorderLayout.NORTH);
@ -264,9 +266,10 @@ public void save()
{
accountProperties.put(ProtocolProviderFactory.PASSWORD,
new String(passwordField.getPassword()));
}
providerFactory.modifyAccount(protocolProvider, accountProperties);
providerFactory
.modifyAccount(protocolProvider, accountProperties);
}
}
public void actionPerformed(ActionEvent e)

Loading…
Cancel
Save