mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
fix a null references issues.
This commit is contained in:
@@ -4,7 +4,7 @@ ReleaseDirectory = "Release"
|
||||
|
||||
for root, dirs, files in os.walk(ReleaseDirectory):
|
||||
for file in files:
|
||||
if file.endswith(".pdb") or file.endswith(".xml"):
|
||||
if file.endswith(".xml"):
|
||||
path = os.path.join(root, file)
|
||||
print "delete file:" + path
|
||||
os.remove(path)
|
||||
|
||||
@@ -248,7 +248,7 @@ namespace Wox.Plugin.PluginManagement
|
||||
{
|
||||
results.Add(new Result()
|
||||
{
|
||||
Title = plugin.Name,
|
||||
Title = plugin.Name + " - " + plugin.ActionKeyword,
|
||||
SubTitle = plugin.Description,
|
||||
IcoPath = "Images\\plugin.png"
|
||||
});
|
||||
|
||||
@@ -100,14 +100,6 @@ namespace Wox.Plugin.System
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
#if (DEBUG)
|
||||
{
|
||||
MessageBox.Show("load chrome bookmark failed");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
private String DecodeUnicode(String dataStr)
|
||||
|
||||
@@ -343,6 +343,8 @@ namespace Wox
|
||||
|
||||
public void OnUpdateResultView(List<Result> list)
|
||||
{
|
||||
if (list == null) return;
|
||||
|
||||
queryHasReturn = true;
|
||||
progressBar.Dispatcher.Invoke(new Action(StopProgress));
|
||||
if (list.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user