mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 03:58:49 +03:00
Allow editing stickers from stickerpicker
This commit is contained in:
parent
c1b7c026e4
commit
4ef1d29f38
1 changed files with 18 additions and 0 deletions
|
@ -201,6 +201,7 @@ Menu {
|
|||
|
||||
model: gridView.model ? gridView.model.sections : null
|
||||
spacing: Nheko.paddingSmall
|
||||
clip: true
|
||||
|
||||
delegate: Avatar {
|
||||
height: sidebarAvatarSize
|
||||
|
@ -211,10 +212,27 @@ Menu {
|
|||
|
||||
hoverEnabled: true
|
||||
ToolTip.visible: hovered
|
||||
ToolTip.delay: Nheko.tooltipDelay
|
||||
ToolTip.text: modelData.name
|
||||
onClicked: gridView.positionViewAtIndex(modelData.firstRowWith, ListView.Beginning)
|
||||
}
|
||||
}
|
||||
|
||||
ImageButton {
|
||||
Layout.row: 0
|
||||
Layout.column: 0
|
||||
Layout.preferredWidth: sidebarAvatarSize
|
||||
Layout.preferredHeight: sidebarAvatarSize
|
||||
Layout.rightMargin: Nheko.paddingSmall
|
||||
|
||||
image: ":/icons/icons/ui/settings.svg"
|
||||
|
||||
hoverEnabled: true
|
||||
ToolTip.visible: hovered
|
||||
ToolTip.delay: Nheko.tooltipDelay
|
||||
ToolTip.text: qsTr("Change what packs are enabled, remove packs, or create new ones")
|
||||
onClicked: TimelineManager.openImagePackSettings(stickerPopup.roomid)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue