Verified Commit dd761e0d authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Fix TagWidget's lineedit not being read-only

This is a regression form porting the widget to UI files.
parent 4447e889
......@@ -65,6 +65,7 @@ class TagWidgetTest: public QObject
tagView = widget->findChild<QLineEdit*>(QStringLiteral("tagView"));
QVERIFY(tagView);
QVERIFY(tagView->isReadOnly()); // always read-only
editButton = widget->findChild<QToolButton*>(QStringLiteral("editButton"));
QVERIFY(editButton);
......
......@@ -13,6 +13,9 @@
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="Akonadi::TagView" name="tagView">
<property name="readOnly">
<bool>true</bool>
</property>
<property name="placeholderText">
<string>Click to add tags</string>
</property>
......
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