mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 00:21:43 +00:00
- fixed incomplete disabling of number field menu option
https://forum.zdoom.org/viewtopic.php?t=68075
This commit is contained in:
parent
0e8473906e
commit
f58027311e
1 changed files with 4 additions and 0 deletions
|
@ -1006,6 +1006,10 @@ class OptionMenuFieldBase : OptionMenuItem
|
|||
return false;
|
||||
}
|
||||
|
||||
override bool Selectable()
|
||||
{
|
||||
return mGrayCheck == null || mGrayCheck.GetInt() != 0;
|
||||
}
|
||||
|
||||
CVar mCVar;
|
||||
CVar mGrayCheck;
|
||||
|
|
Loading…
Reference in a new issue