RoomInformation: allow tabbing on actions
This commit is contained in:
committed by
James Graham
parent
71767c4172
commit
ddd12688aa
@@ -76,6 +76,7 @@ QQC2.ScrollView {
|
||||
visible: !root.room.isSpace
|
||||
icon.name: "search"
|
||||
text: i18n("Search in this room")
|
||||
activeFocusOnTab: true
|
||||
|
||||
Layout.fillWidth: true
|
||||
|
||||
@@ -96,6 +97,8 @@ QQC2.ScrollView {
|
||||
|
||||
onClicked: root.room.isFavourite ? root.room.removeTag("m.favourite") : root.room.addTag("m.favourite", 1.0)
|
||||
|
||||
activeFocusOnTab: true
|
||||
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
@@ -104,6 +107,7 @@ QQC2.ScrollView {
|
||||
visible: !root.room.isSpace
|
||||
icon.name: "map-flat"
|
||||
text: i18n("Show locations for this room")
|
||||
activeFocusOnTab: true
|
||||
|
||||
onClicked: pageStack.pushDialogLayer(Qt.createComponent('org.kde.neochat', 'LocationsPage'), {
|
||||
room: root.room
|
||||
@@ -118,6 +122,7 @@ QQC2.ScrollView {
|
||||
id: leaveButton
|
||||
icon.name: "arrow-left"
|
||||
text: i18nc("@action:button", "Leave this room")
|
||||
activeFocusOnTab: true
|
||||
|
||||
Layout.fillWidth: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user