Skip to content

Commit

Permalink
i forgot to make the cancel button actually work
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaboxer committed Jun 29, 2023
1 parent afbe9f4 commit e708ef3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ public bool CancelEnabled
set
{
_viewModel.CancelButtonVisibility = (value ? Visibility.Visible : Visibility.Collapsed);
_viewModel.CancelButtonEnabled = value;

_viewModel.OnPropertyChanged(nameof(_viewModel.CancelButtonVisibility));
_viewModel.OnPropertyChanged(nameof(_viewModel.CancelButtonEnabled));
}
}
#endregion
Expand Down

0 comments on commit e708ef3

Please sign in to comment.