mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 09:11:17 +00:00
Merge pull request #421 from alexey-lysiuk/video_mode_menu
Fixed selection of empty items in Video Mode menu
This commit is contained in:
commit
f36bdc474d
1 changed files with 8 additions and 0 deletions
|
@ -945,6 +945,14 @@ public:
|
|||
{
|
||||
return mMaxValid >= 0;
|
||||
}
|
||||
|
||||
void Ticker()
|
||||
{
|
||||
if (Selectable() && mSelection > mMaxValid)
|
||||
{
|
||||
mSelection = mMaxValid;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue