GraphicsWindow: Ensure adapter selection isn't enabled while running

This commit is contained in:
Stenzek 2018-09-28 22:01:23 +10:00
parent eb33d7af64
commit 349765ba77

View File

@ -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("") :