diff options
author | Adrian Kummerlaender | 2015-07-18 21:31:27 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2015-07-18 21:31:27 +0200 |
commit | dbb98babd5de116609e849bba4382cf9af9458bc (patch) | |
tree | eae368011b47e1609a5fcfc790755b8acad36f9c /qml/TerminalItem.qml | |
parent | cdec039fe30ec2bcb75a9a1596b32fa6eeed6b74 (diff) | |
download | MetaTerm-dbb98babd5de116609e849bba4382cf9af9458bc.tar MetaTerm-dbb98babd5de116609e849bba4382cf9af9458bc.tar.gz MetaTerm-dbb98babd5de116609e849bba4382cf9af9458bc.tar.bz2 MetaTerm-dbb98babd5de116609e849bba4382cf9af9458bc.tar.lz MetaTerm-dbb98babd5de116609e849bba4382cf9af9458bc.tar.xz MetaTerm-dbb98babd5de116609e849bba4382cf9af9458bc.tar.zst MetaTerm-dbb98babd5de116609e849bba4382cf9af9458bc.zip |
Added terminal resizing commands
Diffstat (limited to 'qml/TerminalItem.qml')
-rw-r--r-- | qml/TerminalItem.qml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qml/TerminalItem.qml b/qml/TerminalItem.qml index 13a19dd..b417a6b 100644 --- a/qml/TerminalItem.qml +++ b/qml/TerminalItem.qml @@ -13,7 +13,7 @@ Item { height: elementList.height function select() { - if ( terminal == null ) { + if ( terminal === null ) { highlighter.select(); } else { terminal.select(); @@ -21,7 +21,7 @@ Item { } function deselect() { - if ( terminal == null ) { + if ( terminal === null ) { highlighter.deselect(); } else { terminal.deselect(); @@ -31,7 +31,7 @@ Item { function forceActiveFocus() { scope.forceActiveFocus(); - if ( terminal == null ) { + if ( terminal === null ) { scope.forceActiveFocus(); highlighter.select(); highlighter.focus(); @@ -39,7 +39,7 @@ Item { } function unfocus() { - if ( terminal == null ) { + if ( terminal === null ) { highlighter.unfocus(); } } @@ -110,7 +110,7 @@ Item { Layout.fillWidth: true onAccepted: { - if ( item.terminal == null ) { + if ( item.terminal === null ) { readOnly = true; focus = false; |