diff --git a/scene/gui/code_edit.cpp b/scene/gui/code_edit.cpp index c453d862642..c20dcc783fc 100644 --- a/scene/gui/code_edit.cpp +++ b/scene/gui/code_edit.cpp @@ -216,6 +216,10 @@ void CodeEdit::_notification(int p_what) { } } } break; + + case NOTIFICATION_DRAG_BEGIN: { + cancel_code_completion(); + } break; } }