mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Bug Fixing - IsSelected is not implemented in ResultItemViewModel
If this property is not implemented, the Theme of selected search result won't take effect.
This commit is contained in:
@@ -14,6 +14,7 @@ namespace Wox.ViewModel
|
||||
#region Private Fields
|
||||
|
||||
private Result _result;
|
||||
private bool _isSelected;
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -77,6 +78,16 @@ namespace Wox.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
public bool IsSelected
|
||||
{
|
||||
get { return _isSelected; }
|
||||
set
|
||||
{
|
||||
_isSelected = value;
|
||||
OnPropertyChanged("IsSelected");
|
||||
}
|
||||
}
|
||||
|
||||
public RelayCommand OpenResultCommand
|
||||
{
|
||||
get;
|
||||
|
||||
Reference in New Issue
Block a user