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:
parent
c06f94fee8
commit
94caf98ece
1 changed files with 4 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue