Browse Source

Pull request #5409: REPORT-57333 还原代码

Merge in DESIGN/design from ~FANGLEI/design10.0:feature/10.0 to feature/10.0

* commit '2589d26e3cacefad175150200e615c15823315e8':
  REPORT-57333 还原代码
feature/10.0
fanglei 3 years ago
parent
commit
48a1f1487e
  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.Point;
import java.awt.Rectangle;
import java.awt.Toolkit;
import java.awt.event.MouseEvent;
import java.util.ArrayList;
@ -183,6 +184,9 @@ public class StateModel {
FormSelectionUtils.rebuildSelection(designer);
designer.getEditListenerTable().fireCreatorModified(
selectionModel.getSelection().getSelectedCreator(), DesignerEvent.CREATOR_ADDED);
} else {
selectionModel.getSelection().setSelectionBounds(selectedPositionBackup, designer);
Toolkit.getDefaultToolkit().beep();
}
// 取消提示
designer.setPainter(null);

Loading…
Cancel
Save