From 7b32530de6185afc2e52288b752ae690c9dd3304 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Tue, 10 Oct 2023 15:03:49 +0200 Subject: [PATCH] Qt/EnhancementsWidget: Fix size of resolution dropdown. --- Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp index 593f05d4ae..b99cea97bc 100644 --- a/Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp +++ b/Source/Core/DolphinQt/Config/Graphics/EnhancementsWidget.cpp @@ -73,7 +73,8 @@ void EnhancementsWidget::CreateWidgets() tr("720p"), tr("1080p"), tr("1440p"), QStringLiteral(""), tr("4K"), QStringLiteral(""), tr("5K"), QStringLiteral(""), QStringLiteral(""), QStringLiteral(""), tr("8K")}; - const int visible_resolution_option_count = static_cast(resolution_options.size()); + const int visible_resolution_option_count = static_cast(resolution_options.size()) + + static_cast(resolution_extra_options.size()); // If the current scale is greater than the max scale in the ini, add sufficient options so that // when the settings are saved we don't lose the user-modified value from the ini.