DolphinQt: Properly hide Wii remote extension motion tabs when no extension is selected.
This commit is contained in:
parent
efc1ee8e6a
commit
f5d9b78a3c
|
@ -360,6 +360,8 @@ void MappingWindow::SetMappingType(MappingWindow::Type type)
|
||||||
AddWidget(EXTENSION_MOTION_SIMULATION_TAB_NAME, extension_motion_simulation);
|
AddWidget(EXTENSION_MOTION_SIMULATION_TAB_NAME, extension_motion_simulation);
|
||||||
m_extension_motion_input_tab =
|
m_extension_motion_input_tab =
|
||||||
AddWidget(EXTENSION_MOTION_INPUT_TAB_NAME, extension_motion_input);
|
AddWidget(EXTENSION_MOTION_INPUT_TAB_NAME, extension_motion_input);
|
||||||
|
// Hide tabs by default. "Nunchuk" selection triggers an event to show them.
|
||||||
|
ShowExtensionMotionTabs(false);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case Type::MAPPING_HOTKEYS:
|
case Type::MAPPING_HOTKEYS:
|
||||||
|
|
Loading…
Reference in New Issue