Merge pull request #6 from Sintendo/setting-input-crash

settings/input: Fix updateControls crashes
This commit is contained in:
Kawa 2020-04-03 00:38:21 +02:00 committed by GitHub
commit 1ebed1701a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ auto InputSettings::reloadMappings() -> void {
for(uint n : range(BindingLimit)) item.append(TableViewCell()); for(uint n : range(BindingLimit)) item.append(TableViewCell());
} }
refreshMappings(); refreshMappings();
updateControls(); cancelMapping();
} }
auto InputSettings::refreshMappings() -> void { auto InputSettings::refreshMappings() -> void {