Explorar o código

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

Fix for resource save dialog call
Rémi Verschelde %!s(int64=7) %!d(string=hai) anos
pai
achega
b68f186c46
Modificáronse 1 ficheiros con 1 adicións e 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() {