From f5d9b78a3c46dd8604b64c7acd15c618c1fda635 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Mon, 13 Jan 2020 18:29:37 -0600 Subject: [PATCH] DolphinQt: Properly hide Wii remote extension motion tabs when no extension is selected. --- Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp b/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp index a30e15fa06..2b38fea2aa 100644 --- a/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp +++ b/Source/Core/DolphinQt/Config/Mapping/MappingWindow.cpp @@ -360,6 +360,8 @@ void MappingWindow::SetMappingType(MappingWindow::Type type) AddWidget(EXTENSION_MOTION_SIMULATION_TAB_NAME, extension_motion_simulation); m_extension_motion_input_tab = AddWidget(EXTENSION_MOTION_INPUT_TAB_NAME, extension_motion_input); + // Hide tabs by default. "Nunchuk" selection triggers an event to show them. + ShowExtensionMotionTabs(false); break; } case Type::MAPPING_HOTKEYS: