Commit 857ac0b
Shell Icon disappears on zoom change
Setting an image for a shell on top left disappears on monitor change in
monitor specific scaling mode. The reason behind it was that the image
was being disposed by setImages method called after setImage in
handleDPIChanged. The setImages method should not have been called if
there are no images present in the array. The solution is to check
whether we have any images in the in the array with the null check.1 parent 12e0564 commit 857ac0b
File tree
1 file changed
+1
-1
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1699 | 1699 | | |
1700 | 1700 | | |
1701 | 1701 | | |
1702 | | - | |
| 1702 | + | |
1703 | 1703 | | |
1704 | 1704 | | |
1705 | 1705 | | |
| |||
0 commit comments