summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorChristophe Cornu <ccornu>2004-01-30 16:43:34 +0000
committerChristophe Cornu <ccornu>2004-01-30 16:43:34 +0000
commite5078da72913afe54cca6e75f5fd5a85d4bea53b (patch)
tree36cc396b1588499a63d3dc16ed8fa45eade6f283 /examples
parent49d71903bbec6f71ed11ec57e1d6aaee794dbd0c (diff)
downloadeclipse.platform.swt-e5078da72913afe54cca6e75f5fd5a85d4bea53b.tar.gz
eclipse.platform.swt-e5078da72913afe54cca6e75f5fd5a85d4bea53b.tar.xz
eclipse.platform.swt-e5078da72913afe54cca6e75f5fd5a85d4bea53b.zip
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/browserexample/BrowserExample.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/browserexample/BrowserExample.java b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/browserexample/BrowserExample.java
index 89766919b2..d9e8d22048 100644
--- a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/browserexample/BrowserExample.java
+++ b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/browserexample/BrowserExample.java
@@ -146,7 +146,7 @@ public BrowserExample(Composite parent) {
browser.addLocationListener(new LocationListener() {
public void changed(LocationEvent event) {
busy = true;
- location.setText(event.location);
+ if (event.top) location.setText(event.location);
}
public void changing(LocationEvent event) {
}