Remove button to toggle search in room member list
This commit is contained in:
@@ -132,18 +132,6 @@ QQC2.ScrollView {
|
|||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
QQC2.ToolButton {
|
|
||||||
id: memberSearchToggle
|
|
||||||
checkable: true
|
|
||||||
icon.name: "search"
|
|
||||||
QQC2.ToolTip.text: i18n("Search user in room")
|
|
||||||
QQC2.ToolTip.visible: hovered
|
|
||||||
QQC2.ToolTip.delay: Kirigami.Units.toolTipDelay
|
|
||||||
onToggled: {
|
|
||||||
userListSearchField.text = "";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
QQC2.ToolButton {
|
QQC2.ToolButton {
|
||||||
visible: root.room.canSendState("invite")
|
visible: root.room.canSendState("invite")
|
||||||
icon.name: "list-add-user"
|
icon.name: "list-add-user"
|
||||||
@@ -165,7 +153,6 @@ QQC2.ScrollView {
|
|||||||
|
|
||||||
Kirigami.SearchField {
|
Kirigami.SearchField {
|
||||||
id: userListSearchField
|
id: userListSearchField
|
||||||
visible: memberSearchToggle.checked
|
|
||||||
|
|
||||||
onVisibleChanged: if (visible) forceActiveFocus()
|
onVisibleChanged: if (visible) forceActiveFocus()
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|||||||
Reference in New Issue
Block a user