mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DolphinQt/Debugger: Fix crash with floating debugger windows
This commit is contained in:
@ -27,6 +27,8 @@ RegisterWidget::RegisterWidget(QWidget* parent) : QDockWidget(parent)
|
||||
|
||||
setAllowedAreas(Qt::AllDockWidgetAreas);
|
||||
|
||||
CreateWidgets();
|
||||
|
||||
auto& settings = Settings::GetQSettings();
|
||||
|
||||
restoreGeometry(settings.value(QStringLiteral("registerwidget/geometry")).toByteArray());
|
||||
@ -34,7 +36,6 @@ RegisterWidget::RegisterWidget(QWidget* parent) : QDockWidget(parent)
|
||||
// according to Settings
|
||||
setFloating(settings.value(QStringLiteral("registerwidget/floating")).toBool());
|
||||
|
||||
CreateWidgets();
|
||||
PopulateTable();
|
||||
ConnectWidgets();
|
||||
|
||||
|
Reference in New Issue
Block a user