Browse Source

REPORT-66886 鼠标悬浮n秒后释放,没有将组件放入tab中

bugfix/11.0
方磊 3 years ago
parent
commit
3d4902ed34
  1. 14
      designer-form/src/main/java/com/fr/design/designer/beans/events/AddingWidgetListenerTable.java

14
designer-form/src/main/java/com/fr/design/designer/beans/events/AddingWidgetListenerTable.java

@ -28,23 +28,13 @@ public class AddingWidgetListenerTable {
public void beforeAdded() { public void beforeAdded() {
for (final AddingWidgetListener listener : listeners) { for (final AddingWidgetListener listener : listeners) {
SwingUtilities.invokeLater(new Runnable() { listener.beforeAdded();
@Override
public void run() {
listener.beforeAdded();
}
});
} }
} }
public void afterAdded(boolean addResult) { public void afterAdded(boolean addResult) {
for (final AddingWidgetListener listener : listeners) { for (final AddingWidgetListener listener : listeners) {
SwingUtilities.invokeLater(new Runnable() { listener.afterAdded(addResult);
@Override
public void run() {
listener.afterAdded(addResult);
}
});
} }
} }

Loading…
Cancel
Save