aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-06 23:03:07 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-06 23:03:07 -0800
commit9c0cb6cfef32e8b7973121305a9c7ab9c2b155f0 (patch)
treeef379febddf9b6cb2bbd3906f01850e2baf5f40b /qt-mobile/qml
parent5860913e41b5dbbeb2c8d73f875c0e484cf3ef37 (diff)
downloadsubsurface-9c0cb6cfef32e8b7973121305a9c7ab9c2b155f0.tar.gz
QML UI: edit notes in rich text mode
This way we don't show <br> for line breaks. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml')
-rw-r--r--qt-mobile/qml/DiveDetailsEdit.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-mobile/qml/DiveDetailsEdit.qml b/qt-mobile/qml/DiveDetailsEdit.qml
index 25b10ba2a..b6ca4572a 100644
--- a/qt-mobile/qml/DiveDetailsEdit.qml
+++ b/qt-mobile/qml/DiveDetailsEdit.qml
@@ -146,6 +146,7 @@ Item {
TextArea {
id: txtNotes
text: notes
+ textFormat: TextEdit.RichText
focus: true
Layout.fillWidth: true
Layout.fillHeight: true