summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-08-13 16:32:22 +0200
committerGitHub <noreply@github.com>2018-08-13 16:32:22 +0200
commitb68f186c46c5df260eff9ea70ef2802ee07d251c (patch)
treef23f31ddf5da395b386e557312b5af19fa8385d8
parent51a0a3813577f20dd76a297e51d2b4445546a7d9 (diff)
parent48abe73fe238fc4bec337fbc4d82f59ea96830f1 (diff)
Merge pull request #20971 from swarnimarun/new-resource-option
Fix for resource save dialog call
-rw-r--r--editor/filesystem_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index 1c9bcc3360..7b8a7afa87 100644
--- a/editor/filesystem_dock.cpp
+++ b/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() {