mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
When exporting a palette as an image, automatically set the file name to the palette name
This commit is contained in:
parent
ed1b5168f9
commit
802c06cd6b
|
@ -42,6 +42,7 @@ func open(current_palette: Palette) -> void:
|
||||||
width_input.value = current_palette.width
|
width_input.value = current_palette.width
|
||||||
height_input.value = current_palette.height
|
height_input.value = current_palette.height
|
||||||
path_input.text = current_palette.resource_path
|
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
|
# Store original size so it can be compared with changed values
|
||||||
# and warning can be shown if it is reduced
|
# and warning can be shown if it is reduced
|
||||||
|
|
Loading…
Reference in a new issue