diff --git a/src/plugins/debugger/console/consoleitemdelegate.cpp b/src/plugins/debugger/console/consoleitemdelegate.cpp index 20177bd46ec..8f76704b703 100644 --- a/src/plugins/debugger/console/consoleitemdelegate.cpp +++ b/src/plugins/debugger/console/consoleitemdelegate.cpp @@ -241,11 +241,6 @@ QWidget *ConsoleItemDelegate::createEditor(QWidget *parent, "margin-top: 4px;" "background-color: transparent;" "}"); - connect(editor, &ConsoleEdit::editingFinished, this, [this, editor] { - auto delegate = const_cast(this); - emit delegate->commitData(editor); - emit delegate->closeEditor(editor); - }); return editor; }