summaryrefslogtreecommitdiff
path: root/editor/scene_tree_dock.cpp
diff options
context:
space:
mode:
authorSkyJJ <jjchai01@hotmail.com>2020-07-24 15:14:56 +0200
committerSkyJJ <jjchai01@hotmail.com>2020-07-24 15:15:23 +0200
commit280d4e2965db7d448ce0f0ee3902559ee3f2a467 (patch)
treeedeadec776ff0637a16b366caa30c627e63d8b11 /editor/scene_tree_dock.cpp
parent3f1fc5af7affe27bc2fbb1492377930cc33cc526 (diff)
Fix TTR misuse
Diffstat (limited to 'editor/scene_tree_dock.cpp')
-rw-r--r--editor/scene_tree_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp
index 108e44f294..ce869feddd 100644
--- a/editor/scene_tree_dock.cpp
+++ b/editor/scene_tree_dock.cpp
@@ -2718,7 +2718,7 @@ void SceneTreeDock::_update_create_root_dialog() {
if (l != String()) {
Button *button = memnew(Button);
favorite_nodes->add_child(button);
- button->set_text(TTR(l));
+ button->set_text(l);
String name = l.get_slicec(' ', 0);
if (ScriptServer::is_global_class(name)) {
name = ScriptServer::get_global_class_native_base(name);