|
@@ -1631,7 +1631,7 @@ namespace FurnaceUI.Views.Recipes
|
|
|
|
|
|
Microsoft.Win32.SaveFileDialog dlg = new Microsoft.Win32.SaveFileDialog();
|
|
|
dlg.DefaultExt = ".xlsx"; // Default file extension
|
|
|
- dlg.FileName = $"{CurrentRecipe.Name}_{DateTime.Now:yyyyMMdd_HHmmss}";
|
|
|
+ dlg.FileName = $"{CurrentFileNode.Name}_{DateTime.Now:yyyyMMdd_HHmmss}";
|
|
|
dlg.Filter = "Excel数据表格文件(*.xlsx)|*.xlsx"; // Filter files by extension
|
|
|
Nullable<bool> result = dlg.ShowDialog();// Show open file dialog box
|
|
|
if (result == true) // Process open file dialog box results
|