Omaha #3323 fixed collaboration disposed font issue
Change-Id: I89fda01efad46299a08b3067edc3f16a812a31c2 Former-commit-id:c2cd991296
[formerly023d1bde0b
] [formerlydc7a76197d
] [formerlyc2cd991296
[formerly023d1bde0b
] [formerlydc7a76197d
] [formerlyfe149faffa
[formerlydc7a76197d
[formerly e216af49d135ceeff5e6cd251c6742602230553c]]]] Former-commit-id:fe149faffa
Former-commit-id:6bae8b556c
[formerlyb8dc75d192
] [formerly 54898f3b2d36260900cf96d8c93cda806a155e01 [formerlycb108f12b8
]] Former-commit-id: f94b54e29b3d2880b30c8a131c9ec16015f7c641 [formerly0800ea7cb7
] Former-commit-id:ac986ca600
This commit is contained in:
parent
dbe5a3ffe6
commit
e25a446dae
1 changed files with 5 additions and 3 deletions
|
@ -92,6 +92,7 @@ import com.raytheon.viz.ui.views.CaveFloatingView;
|
|||
* running in an asynchronous thread.
|
||||
* Mar 11, 2014 #2865 lvenable Added null checks for msgArchive.
|
||||
* Jun 20, 2014 3281 bclement made sendErrorMessage() public
|
||||
* Jun 27, 2014 3323 bclement fixed disposed font issue
|
||||
* </pre>
|
||||
*
|
||||
* @author rferrel
|
||||
|
@ -572,11 +573,12 @@ public abstract class AbstractSessionView<T extends IUser> extends
|
|||
|
||||
@Subscribe
|
||||
public void changeFont(FontData data) {
|
||||
if (messagesTextFont != null) {
|
||||
messagesTextFont.dispose();
|
||||
}
|
||||
Font oldFont = messagesTextFont;
|
||||
messagesTextFont = new Font(Display.getCurrent(), data);
|
||||
messagesText.setFont(messagesTextFont);
|
||||
if (oldFont != null) {
|
||||
oldFont.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
public void setAlertWords(List<AlertWord> words) {
|
||||
|
|
Loading…
Add table
Reference in a new issue