mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- 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:
parent
fa062aa141
commit
e385de010d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
|
Loading…
Reference in a new issue