Quantcast

Fixed an issue where adding an entry after having selected an entry

James Whitehead II [01-16-07 - 02:09]
Fixed an issue where adding an entry after having selected an entry
Filename
PerfectRaid_Frames.lua
diff --git a/PerfectRaid_Frames.lua b/PerfectRaid_Frames.lua
index cac8f08..67b5fdf 100644
--- a/PerfectRaid_Frames.lua
+++ b/PerfectRaid_Frames.lua
@@ -405,6 +405,8 @@ function Frames:EditEntry()
 end

 function Frames:AddEntry()
+	PROptions_Frames.selected = nil
+	self.editEntry = nil
 	self.options:FadeIn(PROptions_Frames_Edit)
 	self.options:FadeOut(PROptions_Frames)
 	PROptions_Frames_EditTitle:SetFocus()