We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7673365 commit 11f8567Copy full SHA for 11f8567
src/Files/Filesystem/ListedItem.cs
@@ -517,7 +517,19 @@ public ShortcutItem() : base()
517
// For shortcut elements (.lnk and .url)
518
public string TargetPath { get; set; }
519
520
- public override string ItemName => Path.GetFileNameWithoutExtension(ItemNameRaw); // Always hide extension
+ public override string ItemName
521
+ {
522
+ get
523
524
+ if (IsSymLink)
525
526
+ return base.ItemName;
527
+ }
528
+
529
+ // Always hide extension for shortcuts
530
+ return Path.GetFileNameWithoutExtension(ItemNameRaw);
531
532
533
534
public string Arguments { get; set; }
535
public string WorkingDirectory { get; set; }
0 commit comments