|
@@ -534,7 +534,7 @@ void LineEdit::_notification(int p_what) {
|
|
switch (p_what) {
|
|
switch (p_what) {
|
|
#ifdef TOOLS_ENABLED
|
|
#ifdef TOOLS_ENABLED
|
|
case NOTIFICATION_ENTER_TREE: {
|
|
case NOTIFICATION_ENTER_TREE: {
|
|
- if (!get_tree()->is_node_being_edited(this)) {
|
|
|
|
|
|
+ if (Engine::get_singleton()->is_editor_hint() && !get_tree()->is_node_being_edited(this)) {
|
|
cursor_set_blink_enabled(EDITOR_DEF("text_editor/cursor/caret_blink", false));
|
|
cursor_set_blink_enabled(EDITOR_DEF("text_editor/cursor/caret_blink", false));
|
|
cursor_set_blink_speed(EDITOR_DEF("text_editor/cursor/caret_blink_speed", 0.65));
|
|
cursor_set_blink_speed(EDITOR_DEF("text_editor/cursor/caret_blink_speed", 0.65));
|
|
|
|
|