Quantcast

Correct the POI Integration to use the RIGHT button, as per the control panel.

Ludovicus [08-04-18 - 20:01]
Correct the POI Integration to use the RIGHT button, as per the control panel.
Filename
TomTom_POIIntegration.lua
diff --git a/TomTom_POIIntegration.lua b/TomTom_POIIntegration.lua
index db35d92..288f5ff 100755
--- a/TomTom_POIIntegration.lua
+++ b/TomTom_POIIntegration.lua
@@ -156,7 +156,7 @@ local function poi_OnClick(self, button)
         return
     end

-    if button == "LeftButton" then
+    if button == "RightButton" then
         for i = 1, #modifier do
             local mod = modifier:sub(i, i)
             local func = modTbl[mod]