Skip to content

Commit

Permalink
TEIIDDES-1624 widened the isDisposed() check
Browse files Browse the repository at this point in the history
  • Loading branch information
blafond committed Mar 21, 2013
1 parent 6b77ebe commit edc4a85
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -534,15 +534,15 @@ public void linkActivated(HyperlinkEvent e) {
});

} else {
if( defaultServerSectionBody.isDisposed() || defaultServerLink.isDisposed() ) return;

Display display = defaultServerSectionBody.getDisplay();
final String hyperlinkText = linkText;
display.asyncExec(new Runnable() {

@Override
public void run() {
if( !defaultServerLink.isDisposed() ) {
defaultServerLink.setText(hyperlinkText);
}
defaultServerLink.setText(hyperlinkText);
}
});
}
Expand Down

0 comments on commit edc4a85

Please sign in to comment.