QueryWindow: Minor improvements

This commit is contained in:
2024-03-12 18:23:38 +01:00
parent 2a3a69d96f
commit 239b8a9091
3 changed files with 35 additions and 9 deletions

View File

@ -90,7 +90,7 @@ namespace Elwig.Windows {
private set => SetValue(EmailWishCountProperty, value);
}
private ICommand _deleteCommand;
private ICommand? _deleteCommand;
public ICommand DeleteCommand => _deleteCommand ??= new ActionCommand(() => {
var idx = SelectedDocumentsList.SelectedIndex;
if (idx == -1)