From 5acfa792c999acbd18236d3afb50ffd18dd51504 Mon Sep 17 00:00:00 2001
From: Ivaria <ivaria@vuhdo.io>
Date: Sun, 2 Sep 2018 09:21:08 +0000
Subject: [PATCH] Fixed display of custom debuffs after closing VuhDo Options

---
 VuhDoBarCustomizerDebuffIcon.lua            | 2 ++
 VuhDoOptions/VuhDoNewOptionsTabbedFrame.lua | 2 ++
 changelog.txt                               | 1 +
 3 files changed, 5 insertions(+)

diff --git a/VuhDoBarCustomizerDebuffIcon.lua b/VuhDoBarCustomizerDebuffIcon.lua
index d21060f..4c4507e 100644
--- a/VuhDoBarCustomizerDebuffIcon.lua
+++ b/VuhDoBarCustomizerDebuffIcon.lua
@@ -222,6 +222,7 @@ function VUHDO_removeDebuffIcon(aUnit, aName)
 				if tFrame then
 					tFrame:SetAlpha(0);
 					tFrame["debuffInfo"] = nil;
+					tFrame["debuffCnt"] = nil;
 				end
 			end
 
@@ -246,6 +247,7 @@ function VUHDO_removeAllDebuffIcons(aUnit)
 			if tFrame then
 				tFrame:SetAlpha(0);
 				tFrame["debuffInfo"] = nil;
+				tFrame["debuffCnt"] = nil;
 			end
 		end
 	end
diff --git a/VuhDoOptions/VuhDoNewOptionsTabbedFrame.lua b/VuhDoOptions/VuhDoNewOptionsTabbedFrame.lua
index fb181d2..fa44478 100644
--- a/VuhDoOptions/VuhDoNewOptionsTabbedFrame.lua
+++ b/VuhDoOptions/VuhDoNewOptionsTabbedFrame.lua
@@ -103,6 +103,8 @@ function VUHDO_tabbedPanelOkayClicked(aButton)
 
 	VUHDO_MAY_DEBUFF_ANIM = true;
 	VuhDoNewOptionsTabbedFrame:Hide();
+
+	VUHDO_timeReloadUI(3);
 end
 
 
diff --git a/changelog.txt b/changelog.txt
index cbf139e..bfaf9e5 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -16,6 +16,7 @@ Known issues:
 
 
 Bugfixes:
+-- Fixed display of custom debuffs after closing VuhDo Options
 
 
 Improvements:
-- 
GitLab