Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit feb3279f authored by Volker Krause's avatar Volker Krause

Fix displaying of the multi-traveler selection combobox

parent 20ea201c
......@@ -42,7 +42,9 @@ ColumnLayout {
Layout.alignment: Qt.AlignCenter
model: ticketModel
textRole: "display"
visible: ticketModel.rowCount > 1
// ugly, but rowCount does not trigger binding changes
Component.onCompleted: visible = ticketModel.rowCount() >= 1 && root.resIds.length > 1
}
Item {
......
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