|
|
@ -547,9 +547,7 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter { |
|
|
|
* 设置当前环境为默认 |
|
|
|
* 设置当前环境为默认 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void setCurrentEnv2Default() { |
|
|
|
public void setCurrentEnv2Default() { |
|
|
|
if (isCurrentEnvDefault()) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
final String envName = getDefaultEnvName(); |
|
|
|
final String envName = getDefaultEnvName(); |
|
|
|
WorkContext.switchTo(DesignerWorkspaceGenerator.generate(getDefaultConfig()), new WorkContextCallback() { |
|
|
|
WorkContext.switchTo(DesignerWorkspaceGenerator.generate(getDefaultConfig()), new WorkContextCallback() { |
|
|
|