Closing inventory window together with main window

Leandro Silva [09-19-18 - 00:54]
Closing inventory window together with main window
Filename
LeoAltholic.lua
LeoAltholic.txt
LeoAltholicUI.lua
diff --git a/LeoAltholic.lua b/LeoAltholic.lua
index c61f635..b27bc9c 100644
--- a/LeoAltholic.lua
+++ b/LeoAltholic.lua
@@ -2,7 +2,7 @@
 LeoAltholic = {}
 LeoAltholic.name = "LeoAltholic"
 LeoAltholic.displayName = "Leo's Altholic"
-LeoAltholic.version = "0.9.8"
+LeoAltholic.version = "0.9.9"
 LeoAltholic.chatPrefix = "|c39B027" .. LeoAltholic.name .. "|r: "
 LeoAltholic.timerQueue = {}

diff --git a/LeoAltholic.txt b/LeoAltholic.txt
index 25ad965..c071473 100644
--- a/LeoAltholic.txt
+++ b/LeoAltholic.txt
@@ -1,6 +1,6 @@
 ## Title: Leo's Altholic
 ## APIVersion: 100024
-## Version: 0.9.8
+## Version: 0.9.9
 ## Author: |c39B027@LeandroSilva|r
 ## SavedVariables: LeoAltholicSavedVariables
 ## DependsOn: LibStub LibFeedback
diff --git a/LeoAltholicUI.lua b/LeoAltholicUI.lua
index 811fa94..7d93704 100644
--- a/LeoAltholicUI.lua
+++ b/LeoAltholicUI.lua
@@ -83,6 +83,7 @@ end
 function LeoAltholic.HideUI()
     SCENE_MANAGER:HideTopLevel(LeoAltholicWindow)
     LeoAltholicWindow:SetHidden(true)
+    LeoAltholic.HideInventoryUI()
     LeoAltholic.hidden = true;
 end