Browse Source

Merge pull request #1409 in DESIGN/design from ~LUCIAN.CHEN/design:bugfix/10.0 to bugfix/10.0

* commit '2db22ea09bef4069b4d972f88ce076f77d4bd5b4':
  REPORT-26432 10.0.4设计器中没有sheet可见
bugfix/10.0
Lucian.Chen 5 years ago
parent
commit
dca9e55916
  1. 4
      designer-realize/src/main/java/com/fr/design/mainframe/ElementCasePane.java

4
designer-realize/src/main/java/com/fr/design/mainframe/ElementCasePane.java

@ -80,6 +80,7 @@ import com.fr.design.selection.QuickEditor;
import com.fr.design.selection.Selectedable; import com.fr.design.selection.Selectedable;
import com.fr.design.selection.SelectionEvent; import com.fr.design.selection.SelectionEvent;
import com.fr.design.selection.SelectionListener; import com.fr.design.selection.SelectionListener;
import com.fr.design.ui.util.UIUtil;
import com.fr.general.ComparatorUtils; import com.fr.general.ComparatorUtils;
import com.fr.grid.Grid; import com.fr.grid.Grid;
import com.fr.grid.GridColumn; import com.fr.grid.GridColumn;
@ -117,7 +118,6 @@ import javax.swing.JPanel;
import javax.swing.JPopupMenu; import javax.swing.JPopupMenu;
import javax.swing.JScrollBar; import javax.swing.JScrollBar;
import javax.swing.KeyStroke; import javax.swing.KeyStroke;
import javax.swing.SwingUtilities;
import java.awt.AWTEvent; import java.awt.AWTEvent;
import java.awt.Adjustable; import java.awt.Adjustable;
import java.awt.Dimension; import java.awt.Dimension;
@ -857,7 +857,7 @@ public abstract class ElementCasePane<T extends TemplateElementCase> extends Tar
// Guaranteed to return a non-null array // Guaranteed to return a non-null array
final Object[] listeners = listenerList.getListenerList(); final Object[] listeners = listenerList.getListenerList();
SwingUtilities.invokeLater(new Runnable() { UIUtil.invokeLaterIfNeeded(new Runnable() {
@Override @Override
public void run() { public void run() {
// Process the listeners last to first, notifying // Process the listeners last to first, notifying

Loading…
Cancel
Save