diff options
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; |