summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2024-04-01 08:03:33 +0200
committerGitHub <noreply@github.com>2024-04-01 08:03:33 +0200
commit0a7bcc10411c63e2b315c94780efedf2c52ea45f (patch)
treef72c3d5b801353fda541c5eda6129c1f406824c2 /Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
parenta5e410df11b83646f21941caba98674d807daa7e (diff)
parentac4fd2297fda3b1e560b40e3e2e27fb9e5eb4d2e (diff)
Merge pull request #12679 from Dentomologist/cheatsmanager_allow_making_window_smaller
CheatsManager: Allow making the window smaller
Diffstat (limited to 'Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
index 1aa6afb643..7f37241ee6 100644
--- a/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
+++ b/Source/Core/DolphinQt/Config/GeckoCodeWidget.cpp
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "DolphinQt/Config/GeckoCodeWidget.h"
+#include "DolphinQt/QtUtils/WrapInScrollArea.h"
#include <algorithm>
#include <utility>
@@ -138,7 +139,7 @@ void GeckoCodeWidget::CreateWidgets()
layout->addLayout(btn_layout);
- setLayout(layout);
+ WrapInScrollArea(this, layout);
}
void GeckoCodeWidget::ConnectWidgets()