Skip to content

Commit

Permalink
Merge pull request #3624 from defmys/0.8.0
Browse files Browse the repository at this point in the history
fix bug: renameKey, removeKey and setTTL only affects the 1st tab.
  • Loading branch information
uglide committed Jun 8, 2016
2 parents 5c5b924 + edfa496 commit b46fa98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/resources/qml/ValueTabs.qml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Repeater {
return open()
}

viewModel.renameKey(keyTab.keyIndex, newKeyName.text)
viewModel.renameKey(keyTab.tabIndex, newKeyName.text)
}

visible: false
Expand All @@ -149,7 +149,7 @@ Repeater {
text: "Do you really want to delete this key?"
onYes: {
console.log("remove key")
viewModel.removeKey(keyTab.keyIndex)
viewModel.removeKey(keyTab.tabIndex)
}
visible: false
modality: Qt.ApplicationModal
Expand Down Expand Up @@ -195,7 +195,7 @@ Repeater {
return open()
}

viewModel.setTTL(keyTab.keyIndex, newTTL.text)
viewModel.setTTL(keyTab.tabIndex, newTTL.text)
}

visible: false
Expand Down

0 comments on commit b46fa98

Please sign in to comment.