AceGUI ColorPicker widget Callback for event "OnValueConfirmed" not firing #653


  • Defect
Open
  • Nnoggie created this issue Jan 26, 2024

    When creating a colorpicker widget from AceGUI the callback for the event "OnValueConfirmed" is not firing anymore since 10.2.5

    local colorPicker = AceGUI:Create("ColorPicker")
    colorPicker:SetCallback("OnValueConfirmed", function(widget, callbackName, r, g, b, a)
      print("i dont get called")
    end)

     

  • Nnoggie added a tag Defect Jan 26, 2024
  • Nnoggie edited description Jan 26, 2024
  • Nnoggie posted a comment Jan 29, 2024

    Using OnValueChanged instead of OnValueConfirmed restores previous behavior.

  • aen70 posted a comment May 23, 2024

    Problem still exist because in AceConfigDialog event "OnValueConfirmed" now dont update this:

     

    if event == "OnValueConfirmed" then
    	if iscustom then
    		AceConfigDialog:Open(user.appName, user.rootframe, unpack(basepath))
    	else
    		AceConfigDialog:Open(user.appName, unpack(basepath))
    	end
    end
    
     

     


To post a comment, please login or register a new account.