Browse Source

Show comment field for variable

master
Michael Uleysky 3 weeks ago
parent
commit
506fcd9ffb
  1. 2
      actions/actioninfo.h

2
actions/actioninfo.h

@ -32,6 +32,7 @@ MString ActionInfo_DoAction(const CLArgs& args, D& data)
const MString usedCol = F(C::BMAGENTA);
const MString depthCol = F(C::YELLOW);
const MString horCol = F(C::YELLOW);
const MString comCol = F(C::BYELLOW);
// Header
message(titCol, ad.Title(), C());
@ -66,6 +67,7 @@ MString ActionInfo_DoAction(const CLArgs& args, D& data)
// Metainfo
message(ad.Is2D(name) ? v2dCol : v3dCol, name, C(), info->lname.Exist() ? (" - " + info->lname) : "",
info->targetunit.Exist() ? (", measured in " + unitCol + info->targetunit + C()) : "");
if(info->comment.Exist()) message(comCol," ", info->comment, C());
if(info->stname.Exist()) message(" Standard name: " + info->stname);
// Vertical grid description

Loading…
Cancel
Save