From 85d8db1c4e21ea9cd82e08db049db0626a125456 Mon Sep 17 00:00:00 2001 From: "Mr.k" Date: Fri, 25 Oct 2024 13:13:25 +0300 Subject: [PATCH] Remove commented-out code in 'Invoke-WPFTab' function --- functions/public/Invoke-WPFTab.ps1 | 2 -- 1 file changed, 2 deletions(-) diff --git a/functions/public/Invoke-WPFTab.ps1 b/functions/public/Invoke-WPFTab.ps1 index 43727570..15d64bbd 100644 --- a/functions/public/Invoke-WPFTab.ps1 +++ b/functions/public/Invoke-WPFTab.ps1 @@ -22,8 +22,6 @@ function Invoke-WPFTab { ($sync.GetEnumerator()).where{$psitem.Key -in $filter} | ForEach-Object { if ($ClickedTab -ne $PSItem.name) { $sync[$PSItem.Name].IsChecked = $false - # $tabNumber = [int]($PSItem.Name -replace "WPFTab","" -replace "BT","") - 1 - # $sync.$tabNav.Items[$tabNumber].IsSelected = $false } else { $sync["$ClickedTab"].IsChecked = $true $tabNumber = [int]($ClickedTab-replace "WPFTab","" -replace "BT","") - 1