commit | 39cb26710c54c1bdc4c7e18450499d17878ccb90 | [log] [tgz] |
---|---|---|
author | Kevin Barnes <krbarnes> | Tue Aug 05 21:30:03 2008 +0000 |
committer | Kevin Barnes <krbarnes> | Tue Aug 05 21:30:03 2008 +0000 |
tree | 2d13c32b7616f38425b66ccab1c078077565b7ff | |
parent | 52be86949ae1c04591065f29523dc64fea22b56a [diff] |
243012 - Password fields can be copied to the clipboard on Mac OS X
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java index ff47256..ce30945 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java
@@ -489,6 +489,7 @@ */ public void copy () { checkWidget (); + if ((style & SWT.PASSWORD) != 0 || echoCharacter != '\0') return; if (txnObject == 0) { Point selection = getSelection (); if (selection.x == selection.y) return;