mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Remove modstore leftovers. Fix core.show_path_select_dialog documentation (#8572)
This was forgotten in #5852.
This commit is contained in:
parent
cb00632e23
commit
2ba6785f09
2 changed files with 5 additions and 15 deletions
|
@ -153,11 +153,6 @@ local function handle_buttons(tabview, fields, tabname, tabdata)
|
|||
return true
|
||||
end
|
||||
|
||||
if fields["btn_mod_mgr_install_local"] ~= nil then
|
||||
core.show_file_open_dialog("mod_mgt_open_dlg", fgettext("Select Package File:"))
|
||||
return true
|
||||
end
|
||||
|
||||
if fields["btn_contentdb"] ~= nil then
|
||||
local dlg = create_store_dlg()
|
||||
dlg:set_parent(tabview)
|
||||
|
@ -201,12 +196,6 @@ local function handle_buttons(tabview, fields, tabname, tabdata)
|
|||
return true
|
||||
end
|
||||
|
||||
if fields["mod_mgt_open_dlg_accepted"] and
|
||||
fields["mod_mgt_open_dlg_accepted"] ~= "" then
|
||||
pkgmgr.install_mod(fields["mod_mgt_open_dlg_accepted"],nil)
|
||||
return true
|
||||
end
|
||||
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue