瀏覽代碼

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 年之前
父節點
當前提交
48abe73fe2
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);
 
-	editor->save_resource_as(current_res);
+	editor->save_resource_as(current_res, path);
 }
 
 void FileSystemDock::_go_to_file_list() {