- fixed: FValueTextItem::MenuEvent must eat all MKEY_Enter events so that the menu doesn't try to activate the item which results in an attempt to create an invalid submenu.

SVN r2807 (trunk)
This commit is contained in:
Christoph Oelckers 2010-09-17 10:11:39 +00:00
parent fa062aa141
commit e385de010d

View file

@ -298,7 +298,7 @@ bool FValueTextItem::MenuEvent (int mkey, bool fromcontroller)
return true;
}
}
return false;
return (mkey == MKEY_Enter); // needs to eat enter keys so that Activate won't get called
}
//=============================================================================