Browse Source

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

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

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

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

Loading…
Cancel
Save