fixed bug when current cipher was not displaying correctly in dropdown menu
This commit is contained in:
parent
369e08844f
commit
49bf5d98ff
1 changed files with 3 additions and 1 deletions
|
@ -140,8 +140,10 @@ PageType {
|
|||
cipherDropDown.text = cipher
|
||||
|
||||
for (var i = 0; i < cipherListView.model.count; i++) {
|
||||
const element = cipherListView.model.get(i)
|
||||
|
||||
if (cipherListView.model.get(i).name === cipherDropDown.text) {
|
||||
currentIndex = i
|
||||
cipherListView.selectedIndex = i
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue