Qt/GeneralWidget: Refresh backend settings properly
This commit is contained in:
parent
7b0d7799b5
commit
b7b6b5162c
|
@ -201,7 +201,11 @@ void GeneralWidget::SaveSettings()
|
|||
}
|
||||
}
|
||||
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));
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue