Browse Source

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

Fix for resource save dialog call
Rémi Verschelde 7 years ago
parent
commit
b68f186c46
1 changed files with 1 additions and 1 deletions
  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() {