Adds toggle to build name in titlebar

Adds a config option for toggling the new functionality from #688

Adds toggle to build name in titlebar

Adds a config option for toggling the new functionality from #688

Update window title when changing passive trees
This commit is contained in:
Quotae
2020-04-11 15:13:51 -05:00
parent 196681a60b
commit 4ef9795b48
3 changed files with 20 additions and 4 deletions

View File

@@ -237,6 +237,7 @@ function TreeTabClass:SetActiveSpec(specId)
local curSpec = self.specList[self.activeSpec]
self.build.spec = curSpec
self.build.buildFlag = true
self.build.spec:SetWindowTitleWithBuildClass()
for _, slot in pairs(self.build.itemsTab.slots) do
if slot.nodeId then
if prevSpec then