aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/gui
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2014-12-09 17:43:14 +0200
committerDamian Minkov <damencho@jitsi.org>2014-12-09 17:43:14 +0200
commit0a9a8ba6a260d9e013d39e25f732a4f7777f77aa (patch)
tree465908d641f5ac9c144699363eba992252cbd023 /src/net/java/sip/communicator/impl/gui
parent3349f8a0d44d989736780dc72a8a7e362b9c7956 (diff)
downloadjitsi-0a9a8ba6a260d9e013d39e25f732a4f7777f77aa.zip
jitsi-0a9a8ba6a260d9e013d39e25f732a4f7777f77aa.tar.gz
jitsi-0a9a8ba6a260d9e013d39e25f732a4f7777f77aa.tar.bz2
Adds an option to disable advanced configuration for accounts which do not need it.
Diffstat (limited to 'src/net/java/sip/communicator/impl/gui')
-rw-r--r--src/net/java/sip/communicator/impl/gui/main/account/NewAccountDialog.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/account/NewAccountDialog.java b/src/net/java/sip/communicator/impl/gui/main/account/NewAccountDialog.java
index 5cc84a9..36860c9 100644
--- a/src/net/java/sip/communicator/impl/gui/main/account/NewAccountDialog.java
+++ b/src/net/java/sip/communicator/impl/gui/main/account/NewAccountDialog.java
@@ -363,6 +363,11 @@ public class NewAccountDialog
if (!isEmptyAccountRegistrationWizard)
getRootPane().setDefaultButton(addAccountButton);
+ if(!wizard.isAdvancedConfigurationEnabled())
+ advancedButton.setVisible(false);
+ else if(!advancedButton.isVisible())
+ advancedButton.setVisible(true);
+
accountPanel.revalidate();
accountPanel.repaint();