diff --git a/src/menu/optionmenuitems.h b/src/menu/optionmenuitems.h index 0b0b57759d..29b860af24 100644 --- a/src/menu/optionmenuitems.h +++ b/src/menu/optionmenuitems.h @@ -945,6 +945,14 @@ public: { return mMaxValid >= 0; } + + void Ticker() + { + if (Selectable() && mSelection > mMaxValid) + { + mSelection = mMaxValid; + } + } };