diff options
Diffstat (limited to 'Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp b/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp index d8eb6ec408..aab247dfa0 100644 --- a/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp +++ b/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp @@ -322,6 +322,7 @@ void MappingWindow::OnLoadProfilePressed() m_controller->LoadConfig(ini.GetOrCreateSection("Profile")); m_controller->UpdateReferences(g_controller_interface); + m_controller->GetConfig()->GenerateControllerTextures(); const auto lock = GetController()->GetStateLock(); emit ConfigChanged(); @@ -561,6 +562,7 @@ void MappingWindow::OnDefaultFieldsPressed() { m_controller->LoadDefaults(g_controller_interface); m_controller->UpdateReferences(g_controller_interface); + m_controller->GetConfig()->GenerateControllerTextures(); const auto lock = GetController()->GetStateLock(); emit ConfigChanged(); @@ -578,6 +580,7 @@ void MappingWindow::OnClearFieldsPressed() m_controller->SetDefaultDevice(default_device); m_controller->UpdateReferences(g_controller_interface); + m_controller->GetConfig()->GenerateControllerTextures(); const auto lock = GetController()->GetStateLock(); emit ConfigChanged(); |
