Skip to content

Commit

Permalink
Fix widgets not immediately updating after pclear or reset
Browse files Browse the repository at this point in the history
  • Loading branch information
d87 committed Sep 9, 2020
1 parent 780f968 commit 96bb78c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Options/WidgetConfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ function ns.CreateWidgetConfig(name, parent)
CURRENT_FORM:SetTargetWidget(name, false)
frame.header:Update()
frame.tree:UpdateWidgetTree()
Aptechka:ReconfigureWidget(name)
end)
frame:AddChild(profileClear)
frame.header.profileClear = profileClear
Expand All @@ -261,6 +262,7 @@ function ns.CreateWidgetConfig(name, parent)
CURRENT_FORM:SetTargetWidget(name, false)
frame.header:Update()
frame.tree:UpdateWidgetTree()
Aptechka:ReconfigureWidget(name)
end)
frame:AddChild(reset)
frame.header.reset = reset
Expand Down

0 comments on commit 96bb78c

Please sign in to comment.