Fix UI Flickering issue

This commit is contained in:
Colin Liu 2016-02-18 22:53:41 +08:00
parent c3fd732243
commit 8de26af246

View File

@ -103,6 +103,21 @@ namespace Wox.ViewModel
#endregion
public override bool Equals(object obj)
{
ResultItemViewModel r = obj as ResultItemViewModel;
if (r != null)
{
var equality = string.Equals(r.Title, Title) &&
string.Equals(r.SubTitle, SubTitle);
return equality;
}
else
{
return false;
}
}
public event EventHandler<ResultOpenedEventArgs> ResultOpened;
public event EventHandler ResultActionPanelOpened;