mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Refactor ContentDB integration (#14507)
This commit is contained in:
parent
cc1bfc6d03
commit
284f6d3682
12 changed files with 1356 additions and 1244 deletions
|
@ -225,7 +225,7 @@ local function handle_buttons(tabview, fields, tabname, tabdata)
|
|||
end
|
||||
|
||||
if fields.btn_contentdb then
|
||||
local dlg = create_store_dlg()
|
||||
local dlg = create_contentdb_dlg()
|
||||
dlg:set_parent(tabview)
|
||||
tabview:hide()
|
||||
dlg:show()
|
||||
|
@ -255,7 +255,7 @@ local function handle_buttons(tabview, fields, tabname, tabdata)
|
|||
|
||||
if fields.btn_mod_mgr_update then
|
||||
local pkg = packages:get_list()[tabdata.selected_pkg]
|
||||
local dlg = create_store_dlg(nil, pkgmgr.get_contentdb_id(pkg))
|
||||
local dlg = create_contentdb_dlg(nil, pkgmgr.get_contentdb_id(pkg))
|
||||
dlg:set_parent(tabview)
|
||||
tabview:hide()
|
||||
dlg:show()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue