From: "Lubomir I. Ivanov" <[email protected]> Having {{ dive.suit }} in the HTML will now return the suit as QString (from struct dive->suit).
Signed-off-by: Lubomir I. Ivanov <[email protected]> --- desktop-widgets/templatelayout.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop-widgets/templatelayout.h b/desktop-widgets/templatelayout.h index a2868e7..faedac7 100644 --- a/desktop-widgets/templatelayout.h +++ b/desktop-widgets/templatelayout.h @@ -82,6 +82,8 @@ else if (property == "tags") return object.tags(); else if (property == "gas") return object.gas(); +else if (property == "suit") + return object.suit(); GRANTLEE_END_LOOKUP GRANTLEE_BEGIN_LOOKUP(template_options) -- 1.7.11.msysgit.0 _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
