Просмотр исходного кода

Prevent "Apple" class being given a null config.

0.6.7 for OS X will need rebuilding to include this fix.

Change-Id: I6b31f255981dd064ef19bea2b84e8389d63e71c3
Reviewed-on: http://gerrit.dmdirc.com/2466
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
tags/0.7rc1
Shane Mc Cormack 12 лет назад
Родитель
Сommit
28a5bf7f14
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      src/com/dmdirc/addons/ui_swing/SwingController.java

+ 1
- 1
src/com/dmdirc/addons/ui_swing/SwingController.java Просмотреть файл

@@ -166,10 +166,10 @@ public class SwingController extends BasePlugin implements UIController {
166 166
         this.identityManager = identityManager;
167 167
         this.actionManager = actionManager;
168 168
         this.pluginManager = pluginManager;
169
-        apple = new Apple(getGlobalConfig());
170 169
         globalConfig = identityManager.getGlobalConfiguration();
171 170
         globalIdentity = identityManager.getGlobalConfigIdentity();
172 171
         addonIdentity = identityManager.getGlobalAddonIdentity();
172
+        apple = new Apple(getGlobalConfig());
173 173
         iconManager = new IconManager(globalConfig);
174 174
         prefsComponentFactory = new PrefsComponentFactory(this);
175 175
         dialogManager = new DialogManager(this);

Загрузка…
Отмена
Сохранить