EgtExecutor :
- in ExeSetOperationName aggiunta impostazione progetto modificato.
This commit is contained in:
+10
-1
@@ -1748,7 +1748,16 @@ ExeSetOperationName( int nId, const string& sName)
|
||||
IMachMgr* pMachMgr = GetCurrMachMgr() ;
|
||||
VERIFY_MACHMGR( pMachMgr, false)
|
||||
// assegno il nuovo nome alla operazione della macchinata corrente
|
||||
return pMachMgr->SetOperationName( nId, sName) ;
|
||||
bool bOk = pMachMgr->SetOperationName( nId, sName) ;
|
||||
ExeSetModified() ;
|
||||
// se richiesto, salvo il comando Lua equivalente
|
||||
if ( IsCmdLog()) {
|
||||
string sLua = "EgtSetOperationName(" + ToString( nId) + "," +
|
||||
sName + ")" +
|
||||
" -- Ok=" + ToString( bOk) ;
|
||||
LOG_INFO( GetCmdLogger(), sLua.c_str()) ;
|
||||
}
|
||||
return bOk ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user