Commit ed2458a8 authored by hjk's avatar hjk Committed by Eike Ziller

debugger: save history of log input pane

Task-number: QTCREATORBUG-6474
Change-Id: Ie57f7a6d8f2dce9f09f2b2f5140071289d9c4518
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 4a976e6b
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
#include <utils/savedaction.h> #include <utils/savedaction.h>
#include <utils/fileutils.h> #include <utils/fileutils.h>
#include <utils/historycompleter.h>
namespace Debugger { namespace Debugger {
namespace Internal { namespace Internal {
...@@ -361,6 +362,8 @@ LogWindow::LogWindow(QWidget *parent) ...@@ -361,6 +362,8 @@ LogWindow::LogWindow(QWidget *parent)
m_commandLabel = new QLabel(tr("Command:"), this); m_commandLabel = new QLabel(tr("Command:"), this);
m_commandEdit = new QLineEdit(this); m_commandEdit = new QLineEdit(this);
m_commandEdit->setFrame(false); m_commandEdit->setFrame(false);
m_commandEdit->setObjectName("DebuggerInput");
m_commandEdit->setCompleter(new Utils::HistoryCompleter(m_commandEdit));
QHBoxLayout *commandBox = new QHBoxLayout; QHBoxLayout *commandBox = new QHBoxLayout;
commandBox->addWidget(m_commandLabel); commandBox->addWidget(m_commandLabel);
commandBox->addWidget(m_commandEdit); commandBox->addWidget(m_commandEdit);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment