diff --git a/desktop-widgets/templatelayout.cpp b/desktop-widgets/templatelayout.cpp index 56865f7a8..2578b6bdf 100644 --- a/desktop-widgets/templatelayout.cpp +++ b/desktop-widgets/templatelayout.cpp @@ -541,6 +541,8 @@ QVariant TemplateLayout::getValue(QString list, QString property, const State &s return d->duration.seconds == 0 && d->dc.duration.seconds == 0; } else if (property == "depth") { return get_depth_string(d->dc.maxdepth.mm, true, true); + } else if (property == "meandepth") { + return get_depth_string(d->dc.meandepth.mm, true, true); } else if (property == "divemaster") { return d->diveguide; } else if (property == "diveguide") {