diff --git a/interface/resources/qml/windows/DefaultFrame.qml b/interface/resources/qml/windows/DefaultFrame.qml index 505e653940..a082db5a92 100644 --- a/interface/resources/qml/windows/DefaultFrame.qml +++ b/interface/resources/qml/windows/DefaultFrame.qml @@ -54,10 +54,10 @@ Frame { Text { id: titleText anchors { left: parent.left; leftMargin: iconSize; right: controlsRow.left; rightMargin: iconSize; top: parent.top; topMargin: iconSize / 2; } - text: window.title + text: window ? window.title : "" elide: Text.ElideRight font.bold: true - color: window.focus ? "white" : "gray" + color: (window && window.focus) ? "white" : "gray" style: Text.Outline; styleColor: "black" } diff --git a/interface/resources/qml/windows/Frame.qml b/interface/resources/qml/windows/Frame.qml index 3cbc31fce6..20bf669b9a 100644 --- a/interface/resources/qml/windows/Frame.qml +++ b/interface/resources/qml/windows/Frame.qml @@ -25,7 +25,7 @@ Item { id: debugZ visible: DebugQML text: window ? "Z: " + window.z : "" - y: window.height + 4 + y: window ? window.height + 4 : 0 } function deltaSize(dx, dy) {