From 15afce33933c254d7a4cb41fd9510b96f3cb7841 Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 13 Mar 2020 10:34:37 -0400 Subject: [PATCH] Fix invisible room pane filter placeholder text --- src/gui/Pages/Chat/RoomPane/MemberView.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/Pages/Chat/RoomPane/MemberView.qml b/src/gui/Pages/Chat/RoomPane/MemberView.qml index 7c0e1681..3391ab40 100644 --- a/src/gui/Pages/Chat/RoomPane/MemberView.qml +++ b/src/gui/Pages/Chat/RoomPane/MemberView.qml @@ -50,7 +50,6 @@ HColumnLayout { saveName: "memberFilterField" saveId: chat.roomId - placeholderText: qsTr("Filter members") backgroundColor: theme.chat.roomPane.bottomBar.filterMembers.background bordered: false @@ -59,6 +58,10 @@ HColumnLayout { Layout.fillWidth: true Layout.fillHeight: true + // FIXME: fails to display sometimes for some reason if + // declared normally + Component.onCompleted: placeholderText = qsTr("Filter members") + Behavior on opacity { HNumberAnimation {} } }