diff --git a/src/plugins/debugger/logwindow.cpp b/src/plugins/debugger/logwindow.cpp index 8a8a569a661..cf4741f5492 100644 --- a/src/plugins/debugger/logwindow.cpp +++ b/src/plugins/debugger/logwindow.cpp @@ -58,6 +58,7 @@ #include #include +#include namespace Debugger { namespace Internal { @@ -361,6 +362,8 @@ LogWindow::LogWindow(QWidget *parent) m_commandLabel = new QLabel(tr("Command:"), this); m_commandEdit = new QLineEdit(this); m_commandEdit->setFrame(false); + m_commandEdit->setObjectName("DebuggerInput"); + m_commandEdit->setCompleter(new Utils::HistoryCompleter(m_commandEdit)); QHBoxLayout *commandBox = new QHBoxLayout; commandBox->addWidget(m_commandLabel); commandBox->addWidget(m_commandEdit);