|
|
|
@ -321,9 +321,8 @@ public class XElementCase extends XBorderStyleWidgetCreator implements FormEleme
|
|
|
|
|
FormDesigner designer = editingMouseListener.getDesigner(); |
|
|
|
|
if (e.getButton() == MouseEvent.BUTTON1 && |
|
|
|
|
(e.getClickCount() == 2 || designer.getCursor().getType() == Cursor.HAND_CURSOR)) { |
|
|
|
|
FormElementCaseContainerProvider component = (FormElementCaseContainerProvider) designer.getComponentAt(e); |
|
|
|
|
//切换设计器
|
|
|
|
|
designer.switchTab(component); |
|
|
|
|
designer.switchTab(this); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|