Skip to content

Commit 364de9c

Browse files
committed
Fix bug on clipboard command
1 parent 74584d3 commit 364de9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

file_diffs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def run(self, edit, content):
201201

202202
class FileDiffClipboardCommand(FileDiffCommand):
203203
def run(self, edit, **kwargs):
204-
from_file = self.view.file_name()
204+
from_file = self.get_file_name(self.view, 'untitled')
205205
for region in self.view.sel():
206206
if not region.empty():
207207
from_file += ' (Selection)'

0 commit comments

Comments
 (0)