Explorar el Código

Merge pull request #43977 from FIF15/restore-default-focus-mode-on-master

fix #43695 on master by revert part of #41576
Rémi Verschelde hace 4 años
padre
commit
2c6e6e930e
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      scene/gui/link_button.cpp

+ 1 - 0
scene/gui/link_button.cpp

@@ -295,5 +295,6 @@ void LinkButton::_bind_methods() {
 LinkButton::LinkButton() {
 	text_buf.instance();
 	underline_mode = UNDERLINE_MODE_ALWAYS;
+	set_focus_mode(FOCUS_NONE);
 	set_default_cursor_shape(CURSOR_POINTING_HAND);
 }