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

Commit85d652a

Browse files
author
zhourenjian
committed
Fixed bug that when #setText is called after #addSelectionListener is already called, those added selection listener is not activated.
1 parentd4ab72f commit85d652a

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/Link.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,9 @@ String parse (String string, Object handle) {
597597
mnemonics =newMnemonics;
598598
}
599599
cachedText =result2.toString();
600+
if (anchors !=null &&anchors.length >0 && (hooks(SWT.Selection) ||hooks(SWT.DefaultSelection))) {
601+
hookSelection();
602+
}
600603
returnresult.toString ();
601604
}
602605

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp