Map<String, Setting> orig = Main.pref.getAllSettings();
Map<String, Setting> defaults = tmpPrefs.getAllDefaults();
orig.remove("osm-server.password");
defaults.remove("osm-server.password");
if (tmpPrefs != Main.pref) {
<BUG>loaded = tmpPrefs.getAllSettings();
} else {</BUG>
loaded = orig;
}
prepareData(loaded, orig, defaults);

Map<String, Setting> orig = Main.pref.getAllSettings();
Map<String, Setting> defaults = tmpPrefs.getAllDefaults();
orig.remove("osm-server.password");
defaults.remove("osm-server.password");
if (tmpPrefs != Main.pref) {
loaded = tmpPrefs.getAllSettings();
loaded.put("plugins", orig.get("plugins"));
} else {
loaded = orig;
}
prepareData(loaded, orig, defaults);
