mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-02-05 15:30:09 +00:00
Trim Trailing Whitespace
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
function Invoke-WPFTab {
|
||||
|
||||
<#
|
||||
|
||||
|
||||
.DESCRIPTION
|
||||
Sole purpose of this function is to reduce duplicated code for switching between tabs.
|
||||
|
||||
Sole purpose of this function is to reduce duplicated code for switching between tabs.
|
||||
|
||||
#>
|
||||
|
||||
Param ($ClickedTab)
|
||||
@@ -13,7 +13,7 @@ function Invoke-WPFTab {
|
||||
$x = [int]($ClickedTab -replace "WPFTab","" -replace "BT","") - 1
|
||||
|
||||
0..($Tabs.Count -1 ) | ForEach-Object {
|
||||
|
||||
|
||||
if ($x -eq $psitem){
|
||||
$sync.$TabNav.Items[$psitem].IsSelected = $true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user