From 348a574c4b8d8c59199922fb4eb70abe179d524c Mon Sep 17 00:00:00 2001 From: ArchLeaders Date: Sat, 31 Aug 2024 16:03:55 -0700 Subject: [PATCH] Update suggested file name when exporting --- src/Tkmm/Builders/MenuModels/ShellViewMenu.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tkmm/Builders/MenuModels/ShellViewMenu.cs b/src/Tkmm/Builders/MenuModels/ShellViewMenu.cs index a35421ed..e64d64ff 100644 --- a/src/Tkmm/Builders/MenuModels/ShellViewMenu.cs +++ b/src/Tkmm/Builders/MenuModels/ShellViewMenu.cs @@ -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)) {