Browse Source

Action now instansiates the PreferencesSetting properly (how on earth did everything except chancolours appear to work with it backwards?) Fixes issue 1285

git-svn-id: http://svn.dmdirc.com/trunk@4171 00569f92-eb28-0410-84fd-f71c24880f
tags/0.6
Chris Smith 16 years ago
parent
commit
b366283b95
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/com/dmdirc/actions/Action.java

+ 2
- 2
src/com/dmdirc/actions/Action.java View File

@@ -248,8 +248,8 @@ public class Action extends ActionModel implements Serializable {
248 248
                     && data.containsKey("tooltip")) {
249 249
                 myGroup.getSettings().add(new PreferencesSetting(
250 250
                         PreferencesType.valueOf(data.get("type")), "actions",
251
-                        data.get("setting"), data.get("title"), 
252
-                        data.get("tooltip"), data.get("default")));
251
+                        data.get("setting"), data.get("default"), 
252
+                        data.get("title"), data.get("tooltip")));
253 253
                 ActionManager.registerDefault(data.get("setting"), data.get("default"));
254 254
             }
255 255
         }

Loading…
Cancel
Save