summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarynate <mary.w.nate@gmail.com>2014-06-23 01:52:54 +0800
committermarynate <mary.w.nate@gmail.com>2014-06-23 01:54:21 +0800
commitee131f9f058e789e71fd8859e210ff3d64d45d30 (patch)
tree33e9270ce2600418aaa2f233f8ea6cb88f83c4c2
parente086bccd63e64b8d3bd2b6b5ce000ef8abd71584 (diff)
Fixed resource name not updated when saved in resurce dock
-rw-r--r--tools/editor/resources_dock.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/resources_dock.cpp b/tools/editor/resources_dock.cpp
index eb2e526d71..8542058f47 100644
--- a/tools/editor/resources_dock.cpp
+++ b/tools/editor/resources_dock.cpp
@@ -224,6 +224,7 @@ void ResourcesDock::_file_action(const String& p_path) {
save_resource(p_path,res);
+ _update_name(ti);
} break;