Skip to content

Commit

Permalink
update copy view filters
Browse files Browse the repository at this point in the history
  • Loading branch information
giobel committed Jul 1, 2021
1 parent 6491de0 commit 1b9a9ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ReviTab/Forms/FormCopyViewFilter.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<StackPanel Height="30" Orientation="Horizontal">
<Label x:Name="labelSelectAllFilters" Margin="0" MouseUp="Label_SelectAllFilters_MouseUp" Content="Select All"/>

<Label x:Name="labelDeselectAllFilters" Content="Clear selection" MouseUp="Label_ClearSelectionTemplates_MouseUp" />
<Label x:Name="labelDeselectAllFilters" Content="Clear selection" MouseUp="Label_ClearSelectionFilters_MouseUp" />
</StackPanel>

</StackPanel>
Expand Down
6 changes: 6 additions & 0 deletions ReviTab/Forms/FormCopyViewFilter.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,11 @@ private void Label_SelectAllFilters_MouseUp(object sender, System.Windows.Input.
filterList.SelectAll();
labelSelectAllFilters.Foreground = Brushes.DodgerBlue;
}

private void Label_ClearSelectionFilters_MouseUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
filterList.UnselectAll();
labelSelectAllFilters.Foreground = Brushes.Black;
}
}
}

0 comments on commit 1b9a9ea

Please sign in to comment.