Skip to content

Commit

Permalink
improved ui handling (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
zahdr authored Jun 18, 2023
1 parent 857ba7b commit 7c1f432
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions classes/lootImport.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function lootImportOverview:draw()
buttonImport:SetCallback("OnClick",
function()
lootImport:draw();
AceGUI:Release(window)
end);
window:AddChild(buttonImport);

Expand Down Expand Up @@ -98,6 +99,8 @@ function lootImport:draw()
local data = boxInput:GetText()
db:resetLootCouncilData()
LPI:importLootCouncilData(data)
AceGUI:Release(window)
lootImportOverview:draw()
end);
window:AddChild(buttonImport);
end

0 comments on commit 7c1f432

Please sign in to comment.