summaryrefslogtreecommitdiff
path: root/utils/themeeditor/gui/configdocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/gui/configdocument.cpp')
-rw-r--r--utils/themeeditor/gui/configdocument.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/themeeditor/gui/configdocument.cpp b/utils/themeeditor/gui/configdocument.cpp
index cfdd8c5..0962484 100644
--- a/utils/themeeditor/gui/configdocument.cpp
+++ b/utils/themeeditor/gui/configdocument.cpp
@@ -187,7 +187,7 @@ QString ConfigDocument::toPlainText() const
void ConfigDocument::addRow(QString key, QString value)
{
QHBoxLayout* layout = new QHBoxLayout();
- QComboBox* keyEdit = new QComboBox(this);
+ NoScrollCombo* keyEdit = new NoScrollCombo(this);
QLineEdit* valueEdit = new QLineEdit(value, this);
QPushButton* delButton = new QPushButton(tr("-"), this);
QLabel* label = new QLabel(":");
@@ -203,6 +203,7 @@ void ConfigDocument::addRow(QString key, QString value)
else
keyEdit->setEditText(key);
+
layout->addWidget(keyEdit);
layout->addWidget(label);
layout->addWidget(valueEdit);