Quantcast

Don't save when we encounter an error

James Whitehead II [01-15-07 - 23:43]
Don't save when we encounter an error
Filename
PerfectRaid_Frames.lua
diff --git a/PerfectRaid_Frames.lua b/PerfectRaid_Frames.lua
index bca9c41..cac8f08 100644
--- a/PerfectRaid_Frames.lua
+++ b/PerfectRaid_Frames.lua
@@ -475,6 +475,7 @@ function Frames:SaveEntry()
 	if err then
 		StaticPopupDialogs["PR_FRAME_SAVE_ERROR"].text = err
 		StaticPopup_Show("PR_FRAME_SAVE_ERROR")
+		return
 	end

 	local entry = self.editEntry or {}