Browse Source

Merge pull request #635 in DESIGN/design from ~MATA.LI/designrel:release/10.0 to release/10.0

* commit '75d5efe8ae804540e6e7e1303a6aca2faf864bb7':
  REPORT-12635
final/10.0
Mata.Li 6 years ago
parent
commit
e9a5a2d793
  1. 9
      designer-base/src/main/java/com/fr/design/web/CustomIconPane.java

9
designer-base/src/main/java/com/fr/design/web/CustomIconPane.java

@ -24,6 +24,8 @@ import com.fr.stable.Constants;
import com.fr.stable.CoreGraphHelper;
import com.fr.stable.ListMap;
import com.fr.stable.StringUtils;
import com.fr.transaction.Configurations;
import com.fr.transaction.WorkerFacade;
import javax.swing.*;
import javax.swing.event.ChangeEvent;
@ -283,6 +285,13 @@ public class CustomIconPane extends BasicPane {
}
public String update() {
//把图标信息入库
Configurations.update(new WorkerFacade(WidgetInfoConfig.class) {
@Override
public void run() {
WidgetInfoConfig.getInstance().setIconManager(IconManager.getIconManager());
}
});
return selectedIconName;
}

Loading…
Cancel
Save