aboutsummaryrefslogtreecommitdiff
path: root/src/command
diff options
context:
space:
mode:
authorAdrian Kummerlaender2015-08-15 16:22:05 +0200
committerAdrian Kummerlaender2015-08-15 16:22:05 +0200
commit90da724a56c2ff20617d3e231a6ef877928df482 (patch)
treebda9514fb386de42217d7467a472f19d0fc911f9 /src/command
parentd8431223d34476a17835a05d9508e92447f22479 (diff)
downloadMetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar
MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar.gz
MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar.bz2
MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar.lz
MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar.xz
MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.tar.zst
MetaTerm-90da724a56c2ff20617d3e231a6ef877928df482.zip
Expose component settings as properties
Otherwise they are not accessible to JS commands, i.e. they can not be changed in command mode.
Diffstat (limited to 'src/command')
-rw-r--r--src/command/CommandInput.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/command/CommandInput.qml b/src/command/CommandInput.qml
index 99f5d0e..e980c80 100644
--- a/src/command/CommandInput.qml
+++ b/src/command/CommandInput.qml
@@ -13,8 +13,7 @@ Item {
Layout.preferredHeight: container.height
- Settings {
- id: settings
+ property Settings settings : Settings {
category: "command"
property string background : "black"