no more closing of other frames when opening aux, some refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-07-31 11:33:21 +02:00
parent e69a738773
commit 0a25e7f19b
5 changed files with 162 additions and 145 deletions
-13
View File
@@ -96,19 +96,6 @@ function public.bag_type(bag)
end
end
function public.safe_index(...)
local target = arg[1]
for i=2,arg.n do
if not target then
return
end
target = target[arg[i]]
end
return target
end
function public.without_errors(f)
local orig = UIErrorsFrame.AddMessage
UIErrorsFrame.AddMessage = m.pass