Browse Source

Fix for resource save dialog call

to make sure the resource save opens in the current folder when using right click to do it.
Swarnim Arun 7 years ago
parent
commit
48abe73fe2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/filesystem_dock.cpp

+ 1 - 1
editor/filesystem_dock.cpp

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