fixed accidental removal of findname grid call

This commit is contained in:
MyDrift 2024-08-22 21:22:13 +02:00
parent f284173767
commit cb2576e6db

View File

@ -36,6 +36,8 @@ function Invoke-WPFUIElements {
throw "Failed to retrieve Styles using 'FindResource' from main window element."
}
$targetGrid = $window.FindName($targetGridName)
if (!$targetGrid) {
throw "Failed to retrieve Target Grid by name, provided name: $targetGrid"
}