From 1dc2c5ebcbdf2046c2aad6314018796fe3d0d06e Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Thu, 17 Jun 2010 07:34:24 +0000 Subject: 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 --- utils/themeeditor/gui/configdocument.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utils/themeeditor/gui/configdocument.cpp') 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 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); -- cgit v1.2.3