Browse Source

fix

feature/big-screen
Hades 5 years ago
parent
commit
415097149f
  1. 2
      designer-form/src/main/java/com/fr/design/widget/ui/designer/mobile/MobileAdvanceDefinePane.java

2
designer-form/src/main/java/com/fr/design/widget/ui/designer/mobile/MobileAdvanceDefinePane.java

@ -148,12 +148,12 @@ public class MobileAdvanceDefinePane extends MobileWidgetDefinePane {
MobileBookMark bookMark = xCreator.toData().getMobileBookMark(); MobileBookMark bookMark = xCreator.toData().getMobileBookMark();
bookMark.setUseBookMark(this.useBookMarkCheck.isSelected()); bookMark.setUseBookMark(this.useBookMarkCheck.isSelected());
String newBookMarkName = this.bookMarkNameField.getText(); String newBookMarkName = this.bookMarkNameField.getText();
DesignerContext.getDesignerFrame().getSelectedJTemplate().fireTargetModified();
if (ComparatorUtils.equals(newBookMarkName, bookMark.getBookMarkName())) { if (ComparatorUtils.equals(newBookMarkName, bookMark.getBookMarkName())) {
return; return;
} }
if (!isExist(newBookMarkName)) { if (!isExist(newBookMarkName)) {
bookMark.setBookMarkName(newBookMarkName); bookMark.setBookMarkName(newBookMarkName);
DesignerContext.getDesignerFrame().getSelectedJTemplate().fireTargetModified();
} else { } else {
FineJOptionPane.showMessageDialog(DesignerContext.getDesignerFrame(), FineJOptionPane.showMessageDialog(DesignerContext.getDesignerFrame(),
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Mobile_BookMark_Rename_Failure"), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Mobile_BookMark_Rename_Failure"),

Loading…
Cancel
Save