Qt: Fix debug menu not updating selected GPU renderer

Fixes #93.
This commit is contained in:
Connor McLaughlin 2020-03-14 12:34:39 +10:00
parent 90121aa169
commit c3cb6ef393
1 changed files with 1 additions and 0 deletions

View File

@ -362,6 +362,7 @@ void MainWindow::setupAdditionalUi()
connect(action, &QAction::triggered, [this, renderer]() {
m_host_interface->putSettingValue(QStringLiteral("GPU/Renderer"), QString(Settings::GetRendererName(renderer)));
m_host_interface->applySettings();
updateDebugMenuGPURenderer();
});
}
updateDebugMenuGPURenderer();