syncany-team team mailing list archive
-
syncany-team team
-
Mailing list archive
-
Message #00274
[Merge] lp:~5-launchpad-spacefish-biz/syncany/minor-wizzard-fixes into lp:syncany
Timo Witte has proposed merging lp:~5-launchpad-spacefish-biz/syncany/minor-wizzard-fixes into lp:syncany.
Requested reviews:
Syncany Team (syncany-team)
For more details, see:
https://code.launchpad.net/~5-launchpad-spacefish-biz/syncany/minor-wizzard-fixes/+merge/66045
Just want to push changes which i do while using this great piece of software
--
https://code.launchpad.net/~5-launchpad-spacefish-biz/syncany/minor-wizzard-fixes/+merge/66045
Your team Syncany Team is requested to review the proposed merge of lp:~5-launchpad-spacefish-biz/syncany/minor-wizzard-fixes into lp:syncany.
=== modified file 'syncany/src/org/syncany/gui/wizard/ConnectionPanel.java'
--- syncany/src/org/syncany/gui/wizard/ConnectionPanel.java 2011-06-05 21:26:56 +0000
+++ syncany/src/org/syncany/gui/wizard/ConnectionPanel.java 2011-06-27 18:47:53 +0000
@@ -57,15 +57,18 @@
@Override
public void load() {
- // Fill combo box
- DefaultComboBoxModel cmbModel = new DefaultComboBoxModel();
-
- cmbModel.addElement(new ComboBoxItem(null));
-
- for (PluginInfo pluginInfo : Plugins.list())
- cmbModel.addElement(new ComboBoxItem(pluginInfo));
-
- cmbPlugins.setModel(cmbModel);
+ // don´t refill the ComboBox to avoid state changes
+ if(pnlConnection == null) {
+ // Fill combo box
+ DefaultComboBoxModel cmbModel = new DefaultComboBoxModel();
+
+ cmbModel.addElement(new ComboBoxItem(null));
+
+ for (PluginInfo pluginInfo : Plugins.list())
+ cmbModel.addElement(new ComboBoxItem(pluginInfo));
+
+ cmbPlugins.setModel(cmbModel);
+ }
}
@Override