summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scene/gui/link_button.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/link_button.cpp b/scene/gui/link_button.cpp
index d85c8d2112..b66ee514dc 100644
--- a/scene/gui/link_button.cpp
+++ b/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);
}