diff options
author | Scott Kovatch <skovatch> | 2011-01-21 17:23:29 +0000 |
---|---|---|
committer | Scott Kovatch <skovatch> | 2011-01-21 17:23:29 +0000 |
commit | 4bfb2d44c42d56d757ebc85b377fc3c3d6fa800b (patch) | |
tree | a77a87eb9f246eaaa3f01a240193a0049634a55d | |
parent | a3fca8e5dea31a82c4ad065e8e34046af5dd369c (diff) | |
download | eclipse.platform.swt-4bfb2d44c42d56d757ebc85b377fc3c3d6fa800b.tar.gz eclipse.platform.swt-4bfb2d44c42d56d757ebc85b377fc3c3d6fa800b.tar.xz eclipse.platform.swt-4bfb2d44c42d56d757ebc85b377fc3c3d6fa800b.zip |
334865 - ToolItem's enabled state is independent of its toolbar.
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java index 2da8c97f17..0bb593b926 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java @@ -985,7 +985,7 @@ public void setEnabled (boolean enabled) { } else { state |= DISABLED; } - enableWidget(enabled && parent.isEnabled()); + enableWidget(enabled); } /** |