summaryrefslogtreecommitdiff
path: root/utils/themeeditor/gui/configdocument.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-17 07:34:24 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-17 07:34:24 +0000
commit1dc2c5ebcbdf2046c2aad6314018796fe3d0d06e (patch)
tree0c8dea31338eb2915224847c72cdacbb7caf8944 /utils/themeeditor/gui/configdocument.cpp
parent75560845aad0cc8d1fccfeda5534489ca278ac80 (diff)
downloadrockbox-1dc2c5ebcbdf2046c2aad6314018796fe3d0d06e.tar.gz
rockbox-1dc2c5ebcbdf2046c2aad6314018796fe3d0d06e.zip
Theme Editor: Stopped combo boxes in configuration editor from scrolling on mouse-wheel
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26879 a1c6a512-1295-4272-9138-f99709370657
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 cfdd8c5c62..0962484ba9 100644
--- a/utils/themeeditor/gui/configdocument.cpp
+++ b/utils/themeeditor/gui/configdocument.cpp
@@ -187,7 +187,7 @@ QString ConfigDocument::toPlainText() const
187void ConfigDocument::addRow(QString key, QString value) 187void ConfigDocument::addRow(QString key, QString value)
188{ 188{
189 QHBoxLayout* layout = new QHBoxLayout(); 189 QHBoxLayout* layout = new QHBoxLayout();
190 QComboBox* keyEdit = new QComboBox(this); 190 NoScrollCombo* keyEdit = new NoScrollCombo(this);
191 QLineEdit* valueEdit = new QLineEdit(value, this); 191 QLineEdit* valueEdit = new QLineEdit(value, this);
192 QPushButton* delButton = new QPushButton(tr("-"), this); 192 QPushButton* delButton = new QPushButton(tr("-"), this);
193 QLabel* label = new QLabel(":"); 193 QLabel* label = new QLabel(":");
@@ -203,6 +203,7 @@ void ConfigDocument::addRow(QString key, QString value)
203 else 203 else
204 keyEdit->setEditText(key); 204 keyEdit->setEditText(key);
205 205
206
206 layout->addWidget(keyEdit); 207 layout->addWidget(keyEdit);
207 layout->addWidget(label); 208 layout->addWidget(label);
208 layout->addWidget(valueEdit); 209 layout->addWidget(valueEdit);