Browse Source

REPORT-57333 还原代码

feature/10.0
方磊 3 years ago
parent
commit
2589d26e3c
  1. 4
      designer-form/src/main/java/com/fr/design/designer/beans/models/StateModel.java

4
designer-form/src/main/java/com/fr/design/designer/beans/models/StateModel.java

@ -24,6 +24,7 @@ import java.awt.Cursor;
import java.awt.Graphics; import java.awt.Graphics;
import java.awt.Point; import java.awt.Point;
import java.awt.Rectangle; import java.awt.Rectangle;
import java.awt.Toolkit;
import java.awt.event.MouseEvent; import java.awt.event.MouseEvent;
import java.util.ArrayList; import java.util.ArrayList;
@ -183,6 +184,9 @@ public class StateModel {
FormSelectionUtils.rebuildSelection(designer); FormSelectionUtils.rebuildSelection(designer);
designer.getEditListenerTable().fireCreatorModified( designer.getEditListenerTable().fireCreatorModified(
selectionModel.getSelection().getSelectedCreator(), DesignerEvent.CREATOR_ADDED); selectionModel.getSelection().getSelectedCreator(), DesignerEvent.CREATOR_ADDED);
} else {
selectionModel.getSelection().setSelectionBounds(selectedPositionBackup, designer);
Toolkit.getDefaultToolkit().beep();
} }
// 取消提示 // 取消提示
designer.setPainter(null); designer.setPainter(null);

Loading…
Cancel
Save