Revert "[apps/code] EXE event accepts autocompletion"

This reverts commit 5a96fd0e5de4a9bda30900e0c81a0b15f3fe081a.
This commit is contained in:
Léa Saviot
2020-05-07 14:56:49 +02:00
committed by Émilie Feral
parent 88a39c335f
commit 6dfccc6edf

View File

@@ -277,8 +277,7 @@ bool PythonTextArea::handleEvent(Ion::Events::Event event) {
// Handle event with autocompletion
if (event == Ion::Events::Right
|| event == Ion::Events::ShiftRight
|| event == Ion::Events::OK
|| event == Ion::Events::EXE)
|| event == Ion::Events::OK)
{
m_contentView.reloadRectFromPosition(m_contentView.cursorLocation(), false);
acceptAutocompletion(event != Ion::Events::ShiftRight);