Skip to content

Commit df1f3b2

Browse files
authored
fix: Source Control Menu Commit Name (#1857)
fix: Correct source control menu commit function file name reading
1 parent c516e7c commit df1f3b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodeEdit/Features/NavigatorArea/ProjectNavigator/OutlineView/ProjectNavigatorMenu.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ final class ProjectNavigatorMenu: NSMenu {
165165
private func sourceControlMenu(item: CEWorkspaceFile) -> NSMenu {
166166
let sourceControlMenu = NSMenu(title: "Source Control")
167167
sourceControlMenu.addItem(
168-
withTitle: "Commit \"\(String(describing: item.fileName))\"...",
168+
withTitle: "Commit \"\(String(describing: item.fileName()))\"...",
169169
action: nil,
170170
keyEquivalent: ""
171171
)

0 commit comments

Comments
 (0)