1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-11-30 13:34:33 +00:00

Merge branch 'master' into 'master'

Fix 'Show Controller Tooltips By Default' option being ignored

Closes #8799

See merge request OpenMW/openmw!5003
This commit is contained in:
Alexei Kotov 2025-11-26 16:41:45 +03:00
commit a00ede3595

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();
}