Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9fe0bc1

Browse files
author
zhourenjian
committed
Fixed bug that Shell with style SWT.TOOL change document.title to null.
1 parentb86642c commit9fe0bc1

File tree

1 file changed

+3
-0
lines changed
  • sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets

1 file changed

+3
-0
lines changed

‎sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets/Decorations.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ void bringToTop () {
232232
setSize(this.width,this.height);
233233
}
234234
setLocation(this.left,this.top);
235+
236+
if ((this.style &SWT.TOOL) ==0)
235237
/**
236238
* @j2sNative
237239
* var title = this.getText();
@@ -761,6 +763,7 @@ public void dispose () {
761763
shell.setFocus ();
762764
}
763765
}
766+
if ((this.style &SWT.TOOL) ==0)
764767
/**
765768
* @j2sNative
766769
* if (window["document.title"] != null) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp