From 9365f0fa95bdad8e1bceb72c3ebb72b618f53813 Mon Sep 17 00:00:00 2001 From: Sergio Dias Date: Sun, 12 Feb 2017 17:09:39 +0000 Subject: [PATCH] Fixed an issue that cause the "Enabled" setting for tooltips to not work. --- virtual-desktop-enhancer.ahk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virtual-desktop-enhancer.ahk b/virtual-desktop-enhancer.ahk index f41e46a..332356e 100644 --- a/virtual-desktop-enhancer.ahk +++ b/virtual-desktop-enhancer.ahk @@ -44,7 +44,7 @@ Menu, Tray, Click, 1 ReadIni("settings.ini") -global TooltipsAreEnabled := (TooltipsAreEnabled != "" and TooltipsAreEnabled ~= "^[01]$") ? TooltipsAreEnabled : 1 +global TooltipsEnabled := (TooltipsEnabled != "" and TooltipsEnabled ~= "^[01]$") ? TooltipsEnabled : 1 global TooltipsLifespan := (TooltipsLifespan != "" and TooltipsLifespan ~= "^\d+$") ? TooltipsLifespan : 750 global TooltipsCentered := (TooltipsCentered != "" and TooltipsCentered ~= "^[01]$") ? TooltipsCentered : 1 global TooltipsFontSize := (TooltipsFontSize != "" and TooltipsFontSize ~= "^\d+$") ? TooltipsFontSize : 11 @@ -233,7 +233,7 @@ OnTaskbarScrollDown() { } OnDesktopSwitch(n:=1) { - if (TooltipsAreEnabled) { + if (TooltipsEnabled) { _ShowTooltip(n) } _ChangeAppearance(n)