Browse Source

GUI: Only cancel completion with the `ui_cancel` action

HolonProduction 11 months ago
parent
commit
93ae8d8f0d
1 changed files with 0 additions and 4 deletions
  1. 0 4
      scene/gui/code_edit.cpp

+ 0 - 4
scene/gui/code_edit.cpp

@@ -570,10 +570,6 @@ void CodeEdit::gui_input(const Ref<InputEvent> &p_gui_input) {
 		} else {
 			update_code_completion = (allow_unicode_handling && k->get_unicode() >= 32);
 		}
-
-		if (!update_code_completion) {
-			cancel_code_completion();
-		}
 	}
 
 	/* MISC */