Merge pull request #8559 from jordan-woyak/nunchuk-tabs-fix

DolphinQt: Properly hide Wii remote extension motion tabs when no extension is selected.
This commit is contained in:
JMC47 2020-01-13 20:50:13 -05:00 committed by GitHub
commit 9596fe75f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: