1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-24 01:53:07 +00:00

Fix 'Show Controller Tooltips By Default' option being ignored

This commit is contained in:
Andy Lanzone 2025-11-26 05:41:45 -08:00 committed by Alexei Kotov
parent c06f94fee8
commit 94caf98ece

View file

@ -1498,7 +1498,11 @@ namespace MWGui
if (Settings::gui().mControllerMenus)
{
if (mGuiModes.empty())
{
setControllerTooltipVisible(false);
// When all windows are hidden, reset tooltip visibility to user's preference.
mControllerTooltipEnabled = Settings::gui().mControllerTooltips;
}
else
reapplyActiveControllerWindow();
}