schnoggo's Avatar
Files 6
Downloads 185,178
Favorites 442
View Bug Report
input lua error
Bug #: 8211
File: SimpleCoords
Date: 10-25-14 11:11 AM
By: bendi21791
Status: Unconfirmed
Hi there,

I just started to use you addon and all I can tell that it's perfect. as simple as possible but absolutely useful!
My only problem is when I write input coords and use numpad on my keyboard I automatically use "," character insted of "." which makes a lua error.
(Message: Interface\AddOns\SimpleCoords\SimpleCoords.lua:107: attempt to perform arithmetic on a nil value
Time: 10/25/14 19:09:08
Count: 3
Stack: Interface\AddOns\SimpleCoords\SimpleCoords.lua:107: in function `SimpleCoords_AcceptValue'
[string "*:OnEnterPressed"]:2: in function <[string "*:OnEnterPressed"]:1>)

Could you fix this minor issue of mine and replace "," character at the input textfield?:)


RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: schnoggo - 10-26-14 12:47 PM
Thanks for the feedback. You're the first to report this as problem in the many years the addon has been out there.

The easy fix would be to put a "numeric" filter on the input field, but clearly you still want to use commas.
I'll see what if there's a good spot for me to swap out the commas before processing as math.

One question: what is your locale?
That is, are you running a US English client or something like UK or Australia?