From 126a0a11862f8a79fb0c762f20bdbfe7bee01de3 Mon Sep 17 00:00:00 2001 From: Kevin Krol Date: Wed, 14 Dec 2022 21:29:16 +0100 Subject: [PATCH] Fix Lua error for non-English locales talent load option --- CHANGELOG.md | 7 +++++++ Clicked/Config/Bindings.lua | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 11fb09b7..6f72013d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,12 @@ The format of this changelog is based on [Keep a Changelog](https://keepachangel * The MINOR component is used whenever a version has backwards-compatible profile changes. This also indicates that the user can not switch back to a previous MINOR version without using a backup. * The PATCH component is used for versions that do not contain profile format changes. Users can freely switch between PATCH versions without risk of data loss. +## [1.10.3] - 2022-12-14 + +### Fixed + +* Fix Lua error for non-English locales when using the talent load option [#155] + ## [1.10.2] - 2022-12-13 ### Fixed @@ -1129,6 +1135,7 @@ The format of this changelog is based on [Keep a Changelog](https://keepachangel [0.4.0]: https://github.com/Snakybo/Clicked/releases/tag/0.4.0 [0.3.0]: https://github.com/Snakybo/Clicked/releases/tag/0.3.0 +[#155]: https://github.com/Snakybo/Clicked/issues/155 [#146]: https://github.com/Snakybo/Clicked/issues/146 [#137]: https://github.com/Snakybo/Clicked/issues/137 [#136]: https://github.com/Snakybo/Clicked/issues/136 diff --git a/Clicked/Config/Bindings.lua b/Clicked/Config/Bindings.lua index a72eed2f..3327d30a 100644 --- a/Clicked/Config/Bindings.lua +++ b/Clicked/Config/Bindings.lua @@ -856,7 +856,7 @@ local function DrawTalentSelectOption(container, title, items, data) widget:SetInputError(not found) widget:SetValues(items) else - widget = Addon:GUI_EditBox(data.entries[i], "value") + widget = Addon:GUI_EditBox("OnEnterPressed", data.entries[i], "value") end widget:SetRelativeWidth(0.5)