Skip to content

Commit

Permalink
Remove commented-out code in 'Invoke-WPFTab' function
Browse files Browse the repository at this point in the history
  • Loading branch information
og-mrk committed Oct 25, 2024
1 parent c0e8a14 commit 85d8db1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions functions/public/Invoke-WPFTab.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 85d8db1

Please sign in to comment.