Use SelectableLabel for selectable labels
This commit is contained in:
@@ -6,7 +6,7 @@ import QtQuick 2.15
|
||||
import QtQuick.Controls 2.15 as QQC2
|
||||
import QtQuick.Layouts 1.15
|
||||
|
||||
import org.kde.kirigami 2.15 as Kirigami
|
||||
import org.kde.kirigami 2.20 as Kirigami
|
||||
|
||||
import org.kde.neochat 1.0
|
||||
|
||||
@@ -63,8 +63,8 @@ Kirigami.OverlaySheet {
|
||||
text: room.htmlSafeMemberName(user.id)
|
||||
}
|
||||
|
||||
Kirigami.Heading {
|
||||
level: 5
|
||||
Kirigami.SelectableLabel {
|
||||
textFormat: TextEdit.PlainText
|
||||
text: user.id
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user