Properly move NbRuntime to its own thread
diff --git a/ide/qml/NotebookCell.qml b/ide/qml/NotebookCell.qml
index 240e7f8..3c59393 100644
--- a/ide/qml/NotebookCell.qml
+++ b/ide/qml/NotebookCell.qml
@@ -22,7 +22,10 @@
height: column.height
- Keys.onEscapePressed: root.cellUnfocused()
+ Keys.onEscapePressed: {
+ root.cellUnfocused()
+ code.focus = false
+ }
ColumnLayout {
id: column
@@ -76,9 +79,11 @@
Layout.fillHeight: true
TextArea {
+ id: code
+
Layout.fillWidth: true
Layout.fillHeight: true
- id: code
+
font.family: "monospace"
text: root.code
selectByMouse: true
@@ -115,6 +120,8 @@
}
RoundButton {
+ Layout.alignment: Qt.AlignTop
+
icon.source: "qrc:///icons/menu.svg"
icon.color: Constants.buttonGrey
flat: true