1
0
Fork 0
mirror of https://github.com/PabloMK7/citra.git synced 2025-07-27 23:06:51 +00:00

Handle cases when std::optional does not contain a value

This commit is contained in:
B3n30 2018-10-05 16:51:33 +02:00
parent d37a2270d6
commit 2306af3600
9 changed files with 15 additions and 7 deletions
src/citra_qt/configuration

View file

@ -317,7 +317,7 @@ void ConfigureInput::setPollingResult(const Common::ParamPackage& params, bool a
poller->Stop();
}
if (!abort) {
if (!abort && input_setter) {
(*input_setter)(params);
}