Skip to content

Commit 348a574

Browse files
committed
Update suggested file name when exporting
1 parent 91b8e3b commit 348a574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tkmm/Builders/MenuModels/ShellViewMenu.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public static async Task ExportTkcl()
104104
return;
105105
}
106106

107-
BrowserDialog dialog = new(BrowserMode.SaveFile, "Export TKCL", "TKCL:*.tkcl|All Files:*.*");
107+
BrowserDialog dialog = new(BrowserMode.SaveFile, "Export TKCL", "TKCL:*.tkcl|All Files:*.*", target.Name);
108108
string? selectedFile = await dialog.ShowDialog();
109109

110110
if (string.IsNullOrEmpty(selectedFile)) {

0 commit comments

Comments
 (0)