Skip to content

Commit

Permalink
TitleAreaDialog: fix Widget is disposed on close #1094
Browse files Browse the repository at this point in the history
  • Loading branch information
EcljpseB0T authored and jukzi committed Mar 13, 2024
1 parent 75355f9 commit 03b03d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ public void setTitleAreaColor(RGB color) {
public void setTitleImage(Image newTitleImage) {

titleAreaImage = newTitleImage;
if (titleImageLabel != null) {
if (titleImageLabel != null && !titleImageLabel.isDisposed()) {
titleImageLabel.setImage(newTitleImage);
determineTitleImageLargest();
Control top;
Expand Down

0 comments on commit 03b03d8

Please sign in to comment.