Changed: correct blank product names from shortcut

This commit is contained in:
Ray committed 2020-05-17 16:48:04 +01:00
1 parent 557395b941
commit 3a2ee532c7
9 files changed
+369 -76

No files matched your search

+6
View File
@@ -267,6 +267,12 @@ namespace AppLauncher.Windows.Forms
// do nothing
}
}
if (string.IsNullOrWhiteSpace(model.Title))
{
model.Title = Path.GetFileNameWithoutExtension(fileList[0]);
}
}
listBox1.ListBox.Items.Add(model);
+5
View File
@@ -288,6 +288,11 @@ namespace AppLauncher.Windows.Forms
// do nothing
}
}
if (string.IsNullOrWhiteSpace(model.Title))
{
model.Title = Path.GetFileNameWithoutExtension(fileList[0]);
}
}
listBox1.ListBox.Items.Add(model);
+5
View File
@@ -89,6 +89,11 @@ namespace AppLauncher.Windows.Forms
// do nothing
}
}
if (string.IsNullOrWhiteSpace(model.Title))
{
model.Title = Path.GetFileNameWithoutExtension(fileList[0]);
}
}
this.AddTile(model);