- fixed incomplete disabling of number field menu option

https://forum.zdoom.org/viewtopic.php?t=68075
This commit is contained in:
alexey.lysiuk 2020-06-07 15:50:10 +03:00
parent 0e8473906e
commit f58027311e

View file

@ -1006,6 +1006,10 @@ class OptionMenuFieldBase : OptionMenuItem
return false;
}
override bool Selectable()
{
return mGrayCheck == null || mGrayCheck.GetInt() != 0;
}
CVar mCVar;
CVar mGrayCheck;