From dbb98babd5de116609e849bba4382cf9af9458bc Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 18 Jul 2015 21:31:27 +0200 Subject: Added terminal resizing commands --- qml/TerminalItem.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'qml/TerminalItem.qml') 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; -- cgit v1.2.3