Merge pull request #324 from TiagoTdA/master
Update/Refresh modules on unload
This commit is contained in:
commit
0dccc870b5
|
@ -137,7 +137,7 @@ function unloadCurrentModule()
|
||||||
local module = g_modules.getModule(focusedChild:getText())
|
local module = g_modules.getModule(focusedChild:getText())
|
||||||
if module then
|
if module then
|
||||||
module:unload()
|
module:unload()
|
||||||
if ModuleManager == nil then return end
|
if modules.client_modulemanager == nil then return end
|
||||||
updateModuleInfo(module:getName())
|
updateModuleInfo(module:getName())
|
||||||
refreshLoadedModules()
|
refreshLoadedModules()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue