[PATCH] mobile: show dive.number instead of double location

Jan Mulder jlmulder at xs4all.nl
Fri Jan 8 13:14:59 PST 2016


Trivial patch.

Small error was introduced in commit 25aa80846b84c. The dive.location was shown in the DiveList instead of the intended dive.number.

Signed-off-by: Jan Mulder <jlmulder at xs4all.nl>
---
  qt-mobile/qml/DiveList.qml | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qt-mobile/qml/DiveList.qml b/qt-mobile/qml/DiveList.qml
index 1a49db2..53d71d0 100644
--- a/qt-mobile/qml/DiveList.qml
+++ b/qt-mobile/qml/DiveList.qml
@@ -102,7 +102,7 @@ MobileComponents.Page {
  				}
  				MobileComponents.Label {
  					id: numberText
-					text: "#" + dive.location
+					text: "#" + dive.number
  					color: MobileComponents.Theme.textColor
  					font.pointSize: subsurfaceTheme.smallPointSize
  					opacity: 0.6
-- 
2.7.0

best,

--jan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160108/ec679623/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-PATCH-show-dive.number-instead-of-double-location.patch
Type: text/x-patch
Size: 934 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160108/ec679623/attachment-0001.bin>


More information about the subsurface mailing list