mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-27 18:25:27 +08:00
...
This commit is contained in:
@@ -5607,6 +5607,10 @@ GuiTemplateInstanceLoader
|
|||||||
{
|
{
|
||||||
List<ITypeDescriptor*> tds;
|
List<ITypeDescriptor*> tds;
|
||||||
tds.Add(typeInfo.typeDescriptor);
|
tds.Add(typeInfo.typeDescriptor);
|
||||||
|
if (typeInfo.typeDescriptor == description::GetTypeDescriptor<GuiToolstripButtonTemplate>())
|
||||||
|
{
|
||||||
|
int a = 0;
|
||||||
|
}
|
||||||
|
|
||||||
for (vint i = 0; i < tds.Count(); i++)
|
for (vint i = 0; i < tds.Count(); i++)
|
||||||
{
|
{
|
||||||
@@ -5695,14 +5699,14 @@ GuiTemplateInstanceLoader
|
|||||||
block->statements.Add(assignStat);
|
block->statements.Add(assignStat);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (auto stat = InitializeRootInstance(typeInfo, variableName, arguments, errors))
|
if (auto stat = InitializeRootInstance(resolvingResult, typeInfo, variableName, arguments, errors))
|
||||||
{
|
{
|
||||||
CopyFrom(block->statements, stat.Cast<WfBlockStatement>()->statements, true);
|
CopyFrom(block->statements, stat.Cast<WfBlockStatement>()->statements, true);
|
||||||
}
|
}
|
||||||
return block;
|
return block;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ptr<workflow::WfStatement> InitializeRootInstance(const TypeInfo& typeInfo, GlobalStringKey variableName, ArgumentMap& arguments, collections::List<WString>& errors)
|
Ptr<workflow::WfStatement> InitializeRootInstance(types::ResolvingResult& resolvingResult, const TypeInfo& typeInfo, GlobalStringKey variableName, ArgumentMap& arguments, collections::List<WString>& errors)override
|
||||||
{
|
{
|
||||||
if (arguments.Count() > 0)
|
if (arguments.Count() > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user