diff options
author | Steve Northover <steve> | 2005-10-28 21:59:47 +0000 |
---|---|---|
committer | Steve Northover <steve> | 2005-10-28 21:59:47 +0000 |
commit | 5c73f9dcffc9cba35c239dfadffba6c017b909a4 (patch) | |
tree | 27626fe51694b8c35c141f33fd606f2d5b2fe9f2 | |
parent | 448e3678fd1eaabfd3a2bda711f385c2f7258e63 (diff) | |
download | eclipse.platform.swt-5c73f9dcffc9cba35c239dfadffba6c017b909a4.tar.gz eclipse.platform.swt-5c73f9dcffc9cba35c239dfadffba6c017b909a4.tar.xz eclipse.platform.swt-5c73f9dcffc9cba35c239dfadffba6c017b909a4.zip |
Some images were getting disabled when others were not when a toolbar was disabled
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java index eeed582f06..0e5759b4f9 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java @@ -395,9 +395,7 @@ void enableWidget (boolean enabled) { for (int i=0; i<items.length; i++) { ToolItem item = items [i]; if (item != null) { - if ((item.style & (SWT.CHECK | SWT.RADIO)) != 0) { - item.updateImages (enabled && item.getEnabled ()); - } + item.updateImages (enabled && item.getEnabled ()); } } } |