Skip to content

Commit dd67543

Browse files
committed
Merge branch 'frankdekker-change-add-command-results-in-exception'
2 parents 1737815 + 3b1c5ba commit dd67543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ChromeTabs/ChromeTabControl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private static void AddTabCommandPropertyChanged(DependencyObject d, DependencyP
105105
}
106106
if (e.OldValue != null)
107107
{
108-
ICommand command = (ICommand)e.NewValue;
108+
ICommand command = (ICommand)e.OldValue;
109109
command.CanExecuteChanged -= ct.Command_CanExecuteChanged;
110110
}
111111
}

0 commit comments

Comments
 (0)