diff options
Diffstat (limited to 'resources/qml/Root.qml')
-rw-r--r-- | resources/qml/Root.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/qml/Root.qml b/resources/qml/Root.qml index 72f30b7a..92bff0e0 100644 --- a/resources/qml/Root.qml +++ b/resources/qml/Root.qml @@ -25,6 +25,8 @@ Pane { background: null padding: 0 + Window.onActiveChanged: if (Window.active) {MainWindow.activeRoom = Qt.binding(function() { return Rooms.currentRoom.roomId || Rooms.currentRoomPreview.roomid })} + FontMetrics { id: fontMetrics } |