xiaxiang 9 years ago
parent
commit
d2cfe2f978
  1. 5
      designer_base/src/com/fr/design/extra/PluginFromStorePane.java
  2. 5
      designer_base/src/com/fr/design/extra/PluginUpdatePane.java

5
designer_base/src/com/fr/design/extra/PluginFromStorePane.java

@ -184,6 +184,9 @@ public class PluginFromStorePane extends PluginAbstractLoadingViewPane<Plugin[],
}
private void doUpdateOnline(final PluginStatusCheckCompletePane pane) {
if (!StringUtils.isNotEmpty(DesignerEnvManager.getEnvManager().getBBSName())){
LoginCheckContext.fireLoginCheckListener();
}
if (StringUtils.isNotEmpty(DesignerEnvManager.getEnvManager().getBBSName())){
new SwingWorker<Void, Double>(){
@ -229,8 +232,6 @@ public class PluginFromStorePane extends PluginAbstractLoadingViewPane<Plugin[],
}
}
}.execute();
} else {
LoginCheckContext.fireLoginCheckListener();
}
}

5
designer_base/src/com/fr/design/extra/PluginUpdatePane.java

@ -165,6 +165,9 @@ public class PluginUpdatePane extends PluginAbstractLoadingViewPane<Plugin[], Vo
}
private void doUpdateOnline(final PluginStatusCheckCompletePane pane) {
if (!StringUtils.isNotEmpty(DesignerEnvManager.getEnvManager().getBBSName())){
LoginCheckContext.fireLoginCheckListener();
}
if (StringUtils.isNotEmpty(DesignerEnvManager.getEnvManager().getBBSName())){
new SwingWorker<Void, Double>(){
@ -205,8 +208,6 @@ public class PluginUpdatePane extends PluginAbstractLoadingViewPane<Plugin[], Vo
}
}
}.execute();
} else {
LoginCheckContext.fireLoginCheckListener();
}
}

Loading…
Cancel
Save