Add Ctrl-M to the tree drop down to open manage trees dialog (#6269)
* Add Ctrl-M to the tree drop down to open manage trees dialog * Add to help.txt --------- Co-authored-by: Hiney <pHiney@users.noreply.github.com>
This commit is contained in:
1
help.txt
1
help.txt
@@ -29,6 +29,7 @@ Ctrl + I Jump to import tab
|
||||
Ctrl + A Select all
|
||||
Ctrl + C Copy
|
||||
Ctrl + F Show find / search box (e.g. unique item / tree)
|
||||
Ctrl + M Manage Trees (Tree tab only)
|
||||
Ctrl + N New build (in build selection menu)
|
||||
Ctrl + S Save build to file
|
||||
Ctrl + U Check for update
|
||||
|
||||
@@ -203,6 +203,8 @@ function TreeTabClass:Draw(viewPort, inputEvents)
|
||||
inputEvents[id] = nil
|
||||
elseif event.key == "f" and IsKeyDown("CTRL") then
|
||||
self:SelectControl(self.controls.treeSearch)
|
||||
elseif event.key == "m" and IsKeyDown("CTRL") then
|
||||
self:OpenSpecManagePopup()
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -249,7 +251,7 @@ function TreeTabClass:Draw(viewPort, inputEvents)
|
||||
t_insert(newSpecList, (spec.treeVersion ~= latestTreeVersion and ("["..treeVersions[spec.treeVersion].display.."] ") or "")..(spec.title or "Default"))
|
||||
end
|
||||
self.build.itemsTab.controls.specSelect:SetList(copyTable(newSpecList)) -- Update the passive tree dropdown control in itemsTab
|
||||
t_insert(newSpecList, "Manage trees...")
|
||||
t_insert(newSpecList, "Manage trees... (ctrl-m)")
|
||||
self.controls.specSelect:SetList(newSpecList)
|
||||
|
||||
if not self.controls.treeSearch.hasFocus then
|
||||
|
||||
Reference in New Issue
Block a user