Explorar el Código

Merge pull request #20971 from swarnimarun/new-resource-option

Fix for resource save dialog call
Rémi Verschelde hace 7 años
padre
commit
b68f186c46
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      editor/filesystem_dock.cpp

+ 1 - 1
editor/filesystem_dock.cpp

@@ -1410,7 +1410,7 @@ void FileSystemDock::_resource_created() const {
 
 	RES current_res = RES(r);
 
-	editor->save_resource_as(current_res);
+	editor->save_resource_as(current_res, path);
 }
 
 void FileSystemDock::_go_to_file_list() {