Add settings for device type registers
This commit is contained in:
@@ -27,7 +27,7 @@ ColumnLayout {
|
||||
}
|
||||
|
||||
Button {
|
||||
text: qsTr("Remove")
|
||||
text: qsTr("Remove ") + listView.currentIndex
|
||||
|
||||
onClicked: removeClicked(listView.currentIndex)
|
||||
enabled: listView.currentIndex >= 0
|
||||
@@ -42,6 +42,8 @@ ColumnLayout {
|
||||
|
||||
clip: true
|
||||
|
||||
onCountChanged: if (count === 0 && currentIndex >= 0) currentIndex = -1
|
||||
|
||||
delegate: Item {
|
||||
property variant myData: model
|
||||
readonly property bool isCurrentItem: ListView.isCurrentItem
|
||||
|
Reference in New Issue
Block a user