aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal/assets')
-rw-r--r--ethereal/assets/qml/wallet.qml19
1 files changed, 17 insertions, 2 deletions
diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml
index 2c8d1f241..22fe96e79 100644
--- a/ethereal/assets/qml/wallet.qml
+++ b/ethereal/assets/qml/wallet.qml
@@ -619,7 +619,18 @@ ApplicationWindow {
width: 800
height: 600
+
+ Item {
+ id: keyHandler
+ focus: true
+ Keys.onPressed: {
+ if (event.key == Qt.Key_Space) {
+ ui.next()
+ }
+ }
+ }
SplitView {
+
anchors.fill: parent
property var asmModel: ListModel {
id: asmModel
@@ -664,10 +675,14 @@ ApplicationWindow {
}
function setAsm(asm) {
- //for(var i = 0; i < asm.length; i++) {
asmModel.append({asm: asm})
- //}
}
+
+ function setInstruction(num) {
+ asmTableView.selection.clear()
+ asmTableView.selection.select(num-1)
+ }
+
function clearAsm() {
asmModel.clear()
}