From e43c4b44f453c915ba813511f0b3096dfe88998d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Thu, 8 May 2025 15:31:36 +0200 Subject: [PATCH] Also show the depths for underwater rocks --- src/map/ENC/mapdata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/ENC/mapdata.cpp b/src/map/ENC/mapdata.cpp index 1819f66c..f6004cdf 100644 --- a/src/map/ENC/mapdata.cpp +++ b/src/map/ENC/mapdata.cpp @@ -447,7 +447,7 @@ MapData::Point::Point(uint type, const Coordinates &c, const Attributes &attr, if (ok && clr > 0) _label = QString::fromUtf8("\xE2\x86\x95") + UNIT_SPACE + QString::number(clr) + UNIT_SPACE + hUnits(HUNI); - } else if (type == OBSTRN || type == WRECKS) { + } else if (type == OBSTRN || type == WRECKS || type == UWTROC) { double depth = _attr.value(VALSOU).toDouble(&ok); if (ok && _label.isEmpty()) _label = QString::number(depth);