Skip to content

Commit 68d53e8

Browse files
authored
Fix missing title for tree rename popup causing crash (#6057)
* FIX: missing title for tree rename popup * FIX: crash when renaming skill sets
1 parent ea60218 commit 68d53e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Classes/PassiveSpecListControl.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ end
108108

109109
function PassiveSpecListClass:OnSelKeyDown(index, spec, key)
110110
if key == "F2" then
111-
self:RenameSpec(spec)
111+
self:RenameSpec(spec, "Rename Tree")
112112
end
113113
end
114114

src/Classes/SkillSetListControl.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,6 @@ end
113113

114114
function SkillSetListClass:OnSelKeyDown(index, skillSetId, key)
115115
if key == "F2" then
116-
self:RenameSet(skillSetId)
116+
self:RenameSet(self.skillsTab.skillSets[skillSetId])
117117
end
118118
end

0 commit comments

Comments
 (0)