Simple fixes (#871)

This commit is contained in:
Damir Ainullin
2016-07-30 18:16:28 +03:00
committed by bao-qian
parent 2bff13d9e1
commit d2287328ad
2 changed files with 6 additions and 9 deletions

View File

@@ -91,7 +91,7 @@ namespace Wox.Plugin
public List<Result> ContextMenu { get; set; } public List<Result> ContextMenu { get; set; }
[Obsolete("Use Object initializers instead")] [Obsolete("Use Object initializers instead")]
public Result(string Titles, string IcoPath, string SubTitle = null) public Result(string Title, string IcoPath, string SubTitle = null)
{ {
this.Title = Title; this.Title = Title;
this.IcoPath = IcoPath; this.IcoPath = IcoPath;

View File

@@ -229,8 +229,6 @@ namespace Wox
} }
private void OnPluginNameClick(object sender, MouseButtonEventArgs e) private void OnPluginNameClick(object sender, MouseButtonEventArgs e)
{
if (e.ChangedButton == MouseButton.Left)
{ {
if (e.ChangedButton == MouseButton.Left) if (e.ChangedButton == MouseButton.Left)
{ {
@@ -245,7 +243,6 @@ namespace Wox
} }
} }
} }
}
private void OnPluginDirecotyClick(object sender, MouseButtonEventArgs e) private void OnPluginDirecotyClick(object sender, MouseButtonEventArgs e)
{ {