diff options
| author | Léo Lam <leo@leolam.fr> | 2020-02-09 15:50:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-09 15:50:47 +0100 |
| commit | aa21fe17b8f13f2876b9cf8869f3af9487235827 (patch) | |
| tree | a7e6f9979f16069eab1342d22a785be5e07869bf /Source/Core/DolphinQt/Debugger/WatchWidget.cpp | |
| parent | 166e86b97f861c37cf87ac679029ff0d4006b3c6 (diff) | |
| parent | 3e94366fe029299a4384ca0a15c779986727d3ad (diff) | |
Merge pull request #8618 from encounter/debugger-floating-fix
DolphinQt/Debugger: Fix crash with floating debugger windows
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/WatchWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/WatchWidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/WatchWidget.cpp b/Source/Core/DolphinQt/Debugger/WatchWidget.cpp index a53f7b7ecc..e8bc2b8610 100644 --- a/Source/Core/DolphinQt/Debugger/WatchWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/WatchWidget.cpp @@ -32,6 +32,8 @@ WatchWidget::WatchWidget(QWidget* parent) : QDockWidget(parent) setAllowedAreas(Qt::AllDockWidgetAreas); + CreateWidgets(); + auto& settings = Settings::GetQSettings(); restoreGeometry(settings.value(QStringLiteral("watchwidget/geometry")).toByteArray()); @@ -39,7 +41,6 @@ WatchWidget::WatchWidget(QWidget* parent) : QDockWidget(parent) // according to Settings setFloating(settings.value(QStringLiteral("watchwidget/floating")).toBool()); - CreateWidgets(); ConnectWidgets(); connect(&Settings::Instance(), &Settings::EmulationStateChanged, [this](Core::State state) { |
