summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-07-14 16:16:54 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-07-14 16:16:54 +0800
commit47c142bb3682a161c5f81bf0f9d0dece27ae924e (patch)
tree8027eb4856a5e4956f848f3165df2f9512e0f4c1
parent25c4d4e11198bd8e0d9e717cfbdd2b8105cfeb4d (diff)
activewindow: avoid err
-rw-r--r--bar/ActiveWindow.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/bar/ActiveWindow.qml b/bar/ActiveWindow.qml
index 651b744..10db55d 100644
--- a/bar/ActiveWindow.qml
+++ b/bar/ActiveWindow.qml
@@ -40,7 +40,7 @@ Rectangle {
IText {
// TOOD: if not exist, use lazyloader or something hide this
font.pixelSize: General.fontSize
- text: root.toplevel.wayland.title
+ text: root?.toplevel?.wayland?.title
}
}
}