Skip to content

Commit 6aadfd5

Browse files
Merge pull request dolphin-emu#12225 from AdmiralCurtiss/resolution-dropdown-fix
Qt/EnhancementsWidget: Fix size of resolution dropdown.
2 parents a2f21da + 7b32530 commit 6aadfd5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ void EnhancementsWidget::CreateWidgets()
7373
tr("720p"), tr("1080p"), tr("1440p"), QStringLiteral(""),
7474
tr("4K"), QStringLiteral(""), tr("5K"), QStringLiteral(""),
7575
QStringLiteral(""), QStringLiteral(""), tr("8K")};
76-
const int visible_resolution_option_count = static_cast<int>(resolution_options.size());
76+
const int visible_resolution_option_count = static_cast<int>(resolution_options.size()) +
77+
static_cast<int>(resolution_extra_options.size());
7778

7879
// If the current scale is greater than the max scale in the ini, add sufficient options so that
7980
// when the settings are saved we don't lose the user-modified value from the ini.

0 commit comments

Comments
 (0)