This commit is contained in:
Paul Chote
2011-06-17 15:58:30 +12:00
parent 9bf0a97327
commit 94bca753d2

View File

@@ -55,7 +55,8 @@ namespace OpenRA.Widgets
if (e.KeyName != Key || e.Modifiers != Modifiers.None || e.Event != KeyInputEvent.Down)
return false;
OnClick();
if (!IsDisabled())
OnClick();
return true;
}