summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSwarnim Arun <swarnimarun11@gmail.com>2018-08-13 19:24:35 +0530
committerGitHub <noreply@github.com>2018-08-13 19:24:35 +0530
commit48abe73fe238fc4bec337fbc4d82f59ea96830f1 (patch)
treee9c61e76b84b389bcd8cf748b8182f9b17af3cd7
parenta1dee44e21c3b9c61a77d4ba51806c743c5d0cb4 (diff)
Fix for resource save dialog call
to make sure the resource save opens in the current folder when using right click to do it.
-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 37f86cc912..2b89752c08 100644
--- a/editor/filesystem_dock.cpp
+++ b/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() {