Enable getobject() to find solution even when project is current
This commit is contained in:
parent
5bd3dcfb69
commit
eb33c9d874
@ -326,8 +326,13 @@
|
|||||||
container = premake.CurrentConfiguration
|
container = premake.CurrentConfiguration
|
||||||
end
|
end
|
||||||
|
|
||||||
if (t == "solution" and type(container) ~= "solution") then
|
if t == "solution" then
|
||||||
container = nil
|
if type(container) == "project" then
|
||||||
|
container = container.solution
|
||||||
|
end
|
||||||
|
if type(container) ~= "solution" then
|
||||||
|
container = nil
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local msg
|
local msg
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user