mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-10 14:23:59 +02:00
brmbarv3 ItemEdit: Allow keyboard text entry
This commit is contained in:
parent
c81189889e
commit
906fc75f3c
2 changed files with 35 additions and 20 deletions
|
@ -21,7 +21,7 @@ Item {
|
|||
loadPageByAcct(acct)
|
||||
return
|
||||
}
|
||||
loadPage("ItemEdit", { name: acct["name"], dbid: acct["id"] })
|
||||
loadPage("ItemEdit", { dbid: acct["id"] })
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -65,7 +65,7 @@ Item {
|
|||
text: "Edit"
|
||||
fontSize: 46
|
||||
onButtonClick: {
|
||||
loadPage("ItemEdit", { name: modelData.name, dbid: modelData.id })
|
||||
loadPage("ItemEdit", { dbid: modelData.id })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ Item {
|
|||
text: "Add Item"
|
||||
fontSize: 60
|
||||
onButtonClick: {
|
||||
loadPage("ItemEdit", { name: "", dbid: "" })
|
||||
loadPage("ItemEdit", { dbid: "" })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue