summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
diff options
context:
space:
mode:
authorspycrab <spycrab@users.noreply.github.com>2018-07-13 13:07:30 +0200
committerGitHub <noreply@github.com>2018-07-13 13:07:30 +0200
commit4826acd931144fe8ef532cf38e16c9dee034da99 (patch)
tree6796392d9650789bc8668abed5bf3b1d1094cc00 /Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
parentcc6526f5535e253f72589d1a63968a4696d47892 (diff)
parentc8af83202a44f81cd3a6554a5897bede33b51f94 (diff)
Merge pull request #7260 from spycrab/qt_fix_lazy
Qt/GraphicsWindow: Fix lazy initialisation bugs
Diffstat (limited to 'Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
index ff37193288..5ce4ea4319 100644
--- a/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
+++ b/Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
@@ -41,6 +41,7 @@ GeneralWidget::GeneralWidget(X11Utils::XRRConfiguration* xrr_config, GraphicsWin
connect(parent, &GraphicsWindow::BackendChanged, this, &GeneralWidget::OnBackendChanged);
connect(&Settings::Instance(), &Settings::EmulationStateChanged, this,
[=](Core::State state) { OnEmulationStateChanged(state != Core::State::Uninitialized); });
+ OnEmulationStateChanged(Core::GetState() != Core::State::Uninitialized);
}
void GeneralWidget::CreateWidgets()