diff options
author | Adrian Kummerlaender | 2015-08-06 22:54:42 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2015-08-06 22:54:42 +0200 |
commit | 107f0c94200658476dfd5fe536c57a57daf6eed3 (patch) | |
tree | 5f88ac8789e040accdc527be447a7aa1ba3ef570 | |
parent | 0510fe293be948c1699bc68a68140923dccfecaa (diff) | |
download | MetaTerm-107f0c94200658476dfd5fe536c57a57daf6eed3.tar MetaTerm-107f0c94200658476dfd5fe536c57a57daf6eed3.tar.gz MetaTerm-107f0c94200658476dfd5fe536c57a57daf6eed3.tar.bz2 MetaTerm-107f0c94200658476dfd5fe536c57a57daf6eed3.tar.lz MetaTerm-107f0c94200658476dfd5fe536c57a57daf6eed3.tar.xz MetaTerm-107f0c94200658476dfd5fe536c57a57daf6eed3.tar.zst MetaTerm-107f0c94200658476dfd5fe536c57a57daf6eed3.zip |
Rename insert mode change actions
This was done to reflect that they concern the whole insert mode and don't only control the terminal focus.
-rw-r--r-- | qml/StateHandler.qml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/qml/StateHandler.qml b/qml/StateHandler.qml index e2cbac0..4d226c9 100644 --- a/qml/StateHandler.qml +++ b/qml/StateHandler.qml @@ -25,15 +25,15 @@ Item { state: "INSERT" function enterInsertMode() { - insertTerminalAction.trigger(); + enterInsertAction.trigger(); } states: [ State { name: "NORMAL" - PropertyChanges { target: escapeTerminalAction; enabled: false } - PropertyChanges { target: insertTerminalAction; enabled: true } + PropertyChanges { target: escapeInsertAction; enabled: false } + PropertyChanges { target: enterInsertAction; enabled: true } PropertyChanges { target: nextTerminalAction; enabled: true } PropertyChanges { target: heightenTerminalAction; enabled: true } PropertyChanges { target: shortenTerminalAction; enabled: true } @@ -45,8 +45,8 @@ Item { State { name: "INSERT" - PropertyChanges { target: escapeTerminalAction; enabled: true } - PropertyChanges { target: insertTerminalAction; enabled: false } + PropertyChanges { target: escapeInsertAction; enabled: true } + PropertyChanges { target: enterInsertAction; enabled: false } PropertyChanges { target: nextTerminalAction; enabled: false } PropertyChanges { target: heightenTerminalAction; enabled: false } PropertyChanges { target: shortenTerminalAction; enabled: false } @@ -58,7 +58,7 @@ Item { ] Action { - id: insertTerminalAction + id: enterInsertAction shortcut: settings.insertMode onTriggered: { item.state = "INSERT"; @@ -68,7 +68,7 @@ Item { } Action { - id: escapeTerminalAction + id: escapeInsertAction shortcut: settings.normalMode onTriggered: { item.state = "NORMAL"; |