Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElie Rodrigue <elie.rodrigue@nubik.ca>2017-05-11 14:00:07 +0300
committerElie Rodrigue <elie.rodrigue@nubik.ca>2017-05-11 14:00:07 +0300
commitc216212881638cc6ac5d19c6ef069f02d25b90f5 (patch)
tree5cb841febe667c521141436346050b97bd33b5bb
parentaaa38c4303b9b5af88ce58bd594c02c7eba520d5 (diff)
Fix for undetected file type
-rw-r--r--Apps/AppTypeCollection.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Apps/AppTypeCollection.cs b/Apps/AppTypeCollection.cs
index c590b1d9..6da98620 100644
--- a/Apps/AppTypeCollection.cs
+++ b/Apps/AppTypeCollection.cs
@@ -164,7 +164,9 @@ namespace com.clusterrr.hakchi_gui
foreach (var app in ApplicationTypes)
if(app.Class.Contains(theClass))
return app;
- return null;
+ AppInfo inf = new AppInfo();
+ inf.SystemName = "Unknow";
+ return inf;
}
public static AppInfo GetAppByExtension(string extension)
{