fix ui bug

This commit is contained in:
辉鸭蛋
2024-12-24 01:26:11 +08:00
parent 404457922d
commit 84c7fcec21

View File

@@ -322,9 +322,9 @@ public partial class ScriptControlViewModel : ObservableObject, INavigationAware
SelectedScriptGroup?.AddProject(ScriptGroupProject.BuildPathingProject(fileInfo.Name, relativePath));
}
}
else if (child is StackPanel childStackPanel)
else if (child is Expander { Header: CheckBox { IsChecked: true }, Content: StackPanel nestedStackPanel })
{
AddSelectedPathingScripts(childStackPanel);
AddSelectedPathingScripts(nestedStackPanel);
}
}
}