Skip to content

Commit 5b20daf

Browse files
author
zhourenjian
committed
Fixed a bug that Manager's task title tooltip is not updated when Shell's title is changed.
1 parent 370be14 commit 5b20daf

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets/ShellManager.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ sm.updateItems = function () {
350350
item.textHandle.removeChild (item.textHandle.childNodes[j]);
351351
}
352352
item.textHandle.appendChild (document.createTextNode (item.shell.getText ()));
353+
item.itemHandle.title = item.shell.getText ();
353354
}
354355
}
355356
this.barEl.style.height = (length * hh + 36) + "px";

0 commit comments

Comments
 (0)