Skip to content

Commit

Permalink
Update suggested file name when exporting
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchLeaders committed Aug 31, 2024
1 parent 91b8e3b commit 348a574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tkmm/Builders/MenuModels/ShellViewMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public static async Task ExportTkcl()
return;
}

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

if (string.IsNullOrEmpty(selectedFile)) {
Expand Down

0 comments on commit 348a574

Please sign in to comment.