Skip to content

Commit 5746622

Browse files
committed
Support relative paths
1 parent e25ea70 commit 5746622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PasteIntoFile/frmMain.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public frmMain(string location = null)
5656

5757
var filenameFormat = Settings.Default.filenameTemplate ?? DefaultFilenameFormat;
5858
txtFilename.Text = DateTime.Now.ToString(filenameFormat);
59-
txtCurrentLocation.Text = location;
59+
txtCurrentLocation.Text = Path.GetFullPath(location);
6060
chkClrClipboard.Checked = Settings.Default.clrClipboard;
6161
chkAutoSave.Checked = Settings.Default.autoSave;
6262

0 commit comments

Comments
 (0)