From 802c06cd6bb9e1c3db159002b312c44b34f8ece0 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas Date: Thu, 21 Dec 2023 21:54:20 +0200 Subject: [PATCH] When exporting a palette as an image, automatically set the file name to the palette name --- src/Palette/EditPaletteDialog.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Palette/EditPaletteDialog.gd b/src/Palette/EditPaletteDialog.gd index 8577a4edd..9a56b676c 100644 --- a/src/Palette/EditPaletteDialog.gd +++ b/src/Palette/EditPaletteDialog.gd @@ -42,6 +42,7 @@ func open(current_palette: Palette) -> void: width_input.value = current_palette.width height_input.value = current_palette.height path_input.text = current_palette.resource_path + export_file_dialog.current_file = current_palette.name # Store original size so it can be compared with changed values # and warning can be shown if it is reduced