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
No known key found for this signature in database

View file

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