Permalink
Browse files

GraphicsWindow: Ensure adapter selection isn't enabled while running

  • Loading branch information...
stenzek committed Sep 28, 2018
1 parent eb33d7a commit 349765ba77df11a9d5eeac424ac87e0047c7f0b3
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
@@ -313,7 +313,7 @@ void GeneralWidget::OnBackendChanged(const QString& backend_name)
const bool supports_adapters = !adapters.empty();
m_adapter_combo->setCurrentIndex(g_Config.iAdapter);
m_adapter_combo->setEnabled(supports_adapters);
m_adapter_combo->setEnabled(supports_adapters && !Core::IsRunning());
m_adapter_combo->setToolTip(supports_adapters ?
QStringLiteral("") :

0 comments on commit 349765b

Please sign in to comment.