Browse Source

Merge pull request #35379 from dankan1890/quick_fix

TextureRegionEditor: Corrected typo
Rémi Verschelde 5 years ago
parent
commit
709665b15d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      editor/plugins/texture_region_editor_plugin.cpp

+ 2 - 2
editor/plugins/texture_region_editor_plugin.cpp

@@ -1010,12 +1010,12 @@ TextureRegionEditor::TextureRegionEditor(EditorNode *p_editor) {
 	zoom_hb->add_child(zoom_out);
 	zoom_hb->add_child(zoom_out);
 
 
 	zoom_reset = memnew(ToolButton);
 	zoom_reset = memnew(ToolButton);
-	zoom_out->set_tooltip(TTR("Zoom Reset"));
+	zoom_reset->set_tooltip(TTR("Zoom Reset"));
 	zoom_reset->connect("pressed", this, "_zoom_reset");
 	zoom_reset->connect("pressed", this, "_zoom_reset");
 	zoom_hb->add_child(zoom_reset);
 	zoom_hb->add_child(zoom_reset);
 
 
 	zoom_in = memnew(ToolButton);
 	zoom_in = memnew(ToolButton);
-	zoom_out->set_tooltip(TTR("Zoom In"));
+	zoom_in->set_tooltip(TTR("Zoom In"));
 	zoom_in->connect("pressed", this, "_zoom_in");
 	zoom_in->connect("pressed", this, "_zoom_in");
 	zoom_hb->add_child(zoom_in);
 	zoom_hb->add_child(zoom_in);