Commit 5fd8916a authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

ApplicationPage: Make long description selectable

Text in the apps description can be selected and copied.

BUG: 408467
FIXED-IN: 5.26
parent c72272ef
Pipeline #178570 passed with stage
in 2 minutes
......@@ -11,7 +11,7 @@ import QtQuick.Window 2.15
import QtQuick.Layouts 1.15
import org.kde.discover 2.0
import org.kde.discover.app 1.0
import org.kde.kirigami 2.19 as Kirigami
import org.kde.kirigami 2.20 as Kirigami
import "navigation.js" as Navigation
DiscoverPage {
......@@ -436,11 +436,11 @@ DiscoverPage {
}
// Long app description
Label {
Kirigami.SelectableLabel {
Layout.fillWidth: true
wrapMode: Text.WordWrap
text: appInfo.application.longDescription
textFormat: Text.StyledText
textFormat: TextEdit.RichText
onLinkActivated: Qt.openUrlExternally(link);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment