Qt/GeneralWidget: Refresh backend settings properly

This commit is contained in:
spycrab 2018-05-08 17:00:43 +02:00
parent 7b0d7799b5
commit b7b6b5162c
1 changed files with 5 additions and 1 deletions

View File

@ -201,7 +201,11 @@ void GeneralWidget::SaveSettings()
} }
} }
SConfig::GetInstance().m_strVideoBackend = current_backend; SConfig::GetInstance().m_strVideoBackend = current_backend;
backend->InitBackendInfo();
g_Config.Refresh();
g_video_backend = backend.get();
g_video_backend->InitBackendInfo();
emit BackendChanged(QString::fromStdString(current_backend)); emit BackendChanged(QString::fromStdString(current_backend));
break; break;
} }