Update the window title when saving the shader file - fix #26

This commit is contained in:
ChaoticByte 2024-12-30 18:29:18 +01:00
parent 1635cd5b82
commit afea5c9727
Signed by: ChaoticByte
SSH key fingerprint: SHA256:6v88GlRHW+S4NVmM00ZxofEJlnDdK8LI1EcfR8jrgDs

View file

@ -279,6 +279,7 @@ func _on_open_shader_dialog_file_selected(path: String):
func _on_save_shader_dialog_file_selected(path):
Filesystem.save_shader(path)
main.update_title(path.split("/")[-1])
func _on_save_image_dialog_file_selected(path):
Filesystem.save_result(path)