Skip to content
Snippets Groups Projects
Commit 1846872f authored by dg's avatar dg
Browse files

When the transmo chest pops up at the end of a level the inventory tabs setting is not lost

git-svn-id: http://svn.net-core.org/repos/t-engine4@4851 51575b47-30f0-44d4-a5cc-537603b46e54
parent e53f4702
No related branches found
No related tags found
No related merge requests found
......@@ -229,7 +229,9 @@ function _M:updateTabFilter()
end
-- Save for next dialogs
_M._last_tabs = self.c_tabs:getAllSelectedKeys()
if not self.dont_update_last_tabs then
_M._last_tabs = self.c_tabs:getAllSelectedKeys()
end
end
function _M:generateList(no_update)
......
......@@ -578,6 +578,7 @@ function _M:changeLevel(lev, zone, keep_old_lev, force_down, auto_zone_stair)
end
end
-- Select the chest tab
d.c_inven.dont_update_last_tabs = true
d.c_inven:switchTab{kind="transmo"}
d:simplePopup("Transmogrification Chest", "When you close the inventory window, all items in the chest will be transmogrified.")
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment