Commit 271c36be authored by nevcairiel's avatar nevcairiel

AceConfigDialog-3.0: Prevent a dialog refresh when a multiselect control is...

AceConfigDialog-3.0: Prevent a dialog refresh when a multiselect control is closed during release (Fixes #539)

git-svn-id: https://repos.wowace.com/wow/ace3/trunk@1232 5debad98-a965-4143-8383-f471b3509dcf
parent dd71140f
......@@ -7,7 +7,7 @@ local LibStub = LibStub
local gui = LibStub("AceGUI-3.0")
local reg = LibStub("AceConfigRegistry-3.0")
local MAJOR, MINOR = "AceConfigDialog-3.0", 78
local MAJOR, MINOR = "AceConfigDialog-3.0", 79
local AceConfigDialog, oldminor = LibStub:NewLibrary(MAJOR, MINOR)
if not AceConfigDialog then return end
......@@ -911,7 +911,7 @@ end
local function MultiControlOnClosed(widget, event, ...)
local user = widget:GetUserDataTable()
if user.valuechanged then
if user.valuechanged and not widget:IsReleasing() then
local iscustom = user.rootframe:GetUserData("iscustom")
local basepath = user.rootframe:GetUserData("basepath") or emptyTbl
if iscustom then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment