Browse Source

Fix global identities that are added late not being added to the global manager

git-svn-id: http://svn.dmdirc.com/trunk@2277 00569f92-eb28-0410-84fd-f71c24880f
tags/0.5.1
Chris Smith 16 years ago
parent
commit
801e7f498f

+ 1
- 1
src/com/dmdirc/config/ConfigManager.java View File

@@ -342,7 +342,7 @@ public final class ConfigManager implements Serializable, ConfigChangeListener {
342 342
             comp = null;
343 343
             break;
344 344
         default:
345
-            comp = "<Unknown>";
345
+            comp = "";
346 346
             break;
347 347
         }
348 348
         

+ 4
- 0
src/com/dmdirc/config/ConfigTarget.java View File

@@ -72,21 +72,25 @@ public final class ConfigTarget implements Comparable, Serializable {
72 72
     /** Sets this target to be a global config source. */
73 73
     public void setGlobal() {
74 74
         type = TYPE_GLOBAL;
75
+        data = "";
75 76
     }
76 77
     
77 78
     /** Sets this target to be a global default source. */
78 79
     public void setGlobalDefault() {
79 80
         type = TYPE_GLOBALDEFAULT;
81
+        data = "";
80 82
     }
81 83
     
82 84
     /** Sets this target to be a theme source. */
83 85
     public void setTheme() {
84 86
         type = TYPE_THEME;
87
+        data = "";
85 88
     }
86 89
     
87 90
     /** Sets this target to be a profile source. */
88 91
     public void setProfile() {
89 92
         type = TYPE_PROFILE;
93
+        data = "";
90 94
     }
91 95
     
92 96
     /**

Loading…
Cancel
Save