Browse Source

Merge pull request #43 in DESIGN/design from ~ABEL.CHEN/design:feature/10.0 to feature/10.0

* commit '3b47392ac9345e9cf0a5e4f2eb39d127d026bbb5':
  DBEnv改名
master
superman 7 years ago
parent
commit
6f623e729a
  1. 4
      designer-realize/src/com/fr/design/mainframe/bbs/UserInfoPane.java

4
designer-realize/src/com/fr/design/mainframe/bbs/UserInfoPane.java

@ -4,7 +4,7 @@
package com.fr.design.mainframe.bbs; package com.fr.design.mainframe.bbs;
import com.fr.base.FRContext; import com.fr.base.FRContext;
import com.fr.config.DBEnv; import com.fr.config.BaseDBEnv;
import com.fr.config.MarketConfig; import com.fr.config.MarketConfig;
import com.fr.design.DesignerEnvManager; import com.fr.design.DesignerEnvManager;
import com.fr.design.constants.UIConstants; import com.fr.design.constants.UIConstants;
@ -77,7 +77,7 @@ public class UserInfoPane extends BasicPane {
GeneralContext.addEnvChangedListener(new EnvChangedListener() { GeneralContext.addEnvChangedListener(new EnvChangedListener() {
@Override @Override
public void envChanged() { public void envChanged() {
if (DBEnv.isDBEnvAvailable()) { if (BaseDBEnv.isDBEnvAvailable()) {
String username = MarketConfig.getInstance().getBbsUsername(); String username = MarketConfig.getInstance().getBbsUsername();
if (StringUtils.isEmpty(username)) { if (StringUtils.isEmpty(username)) {
markUnSignIn(); markUnSignIn();

Loading…
Cancel
Save