Commit f618b3d8 authored by Claes Sjofors's avatar Claes Sjofors

Wb build volume and node, error message for plcpgm in edit mode was missing

parent cb0398af
...@@ -130,6 +130,8 @@ void wb_build::node( char *nodename, void *volumelist, int volumecnt) ...@@ -130,6 +130,8 @@ void wb_build::node( char *nodename, void *volumelist, int volumecnt)
if ( vlist[i].volume_id == m_session.vid()) { if ( vlist[i].volume_id == m_session.vid()) {
// Build current volume // Build current volume
volume(); volume();
if ( evenSts())
return;
} }
cdh_ToLower( vname, vlist[i].volume_name); cdh_ToLower( vname, vlist[i].volume_name);
...@@ -589,6 +591,14 @@ void wb_build::plcpgm( pwr_tOid oid) ...@@ -589,6 +591,14 @@ void wb_build::plcpgm( pwr_tOid oid)
else if ( m_sts == GSX__NOMODIF) { else if ( m_sts == GSX__NOMODIF) {
m_sts = PWRB__NOBUILT; m_sts = PWRB__NOBUILT;
} }
else {
char msg[500];
char msg2[256];
msg_GetMsg( m_sts, msg, sizeof(msg));
sprintf( msg2, ", PlcPgm %s", o.longName().name(cdh_mName_path | cdh_mName_object));
strcat( msg, msg2);
MsgWindow::message('E', msg, msgw_ePop_Yes, oid, true);
}
} }
void wb_build::xttgraph( pwr_tOid oid) void wb_build::xttgraph( pwr_tOid oid)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment