commit | 206612074f60ad95d9a4954a0db1825aba0ff65e | [log] [tgz] |
---|---|---|
author | Silenio Quarti <silenio> | Thu May 04 22:45:05 2006 +0000 |
committer | Silenio Quarti <silenio> | Thu May 04 22:45:05 2006 +0000 |
tree | 1fc96a4ba8443bca271492bc04e8b7ce9156008f | |
parent | 0196671e742741c9fd08f2caa15529f1f2073ae5 [diff] |
140272 - Editing OS.java really slow
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TreeItem.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TreeItem.java index 79a2972..47ef49b 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TreeItem.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TreeItem.java
@@ -1022,6 +1022,7 @@ */ public void setExpanded (boolean expanded) { checkWidget (); + if (expanded == getExpanded ()) return; parent.ignoreExpand = true; if (expanded) { OS.OpenDataBrowserContainer (parent.handle, id);