mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-12 01:30:36 +05:00
[bos #29467] [EDF] (2022-T1) Logging of SALOME usage: specific log in SALOME
This commit is contained in:
parent
d2ccc47fec
commit
221a1f9cef
@ -943,6 +943,7 @@ bool GEOMBase_Helper::onAccept( const bool publish, const bool useTransaction, b
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( nbObjs ) {
|
if ( nbObjs ) {
|
||||||
|
SalomeApp_Application::logUserEvent( QString( "Geometry") + ": " + QObject::tr( "OPERATION_APPLIED" ) );
|
||||||
commitCommand();
|
commitCommand();
|
||||||
updateObjBrowser();
|
updateObjBrowser();
|
||||||
if( SUIT_Application* anApp = SUIT_Session::session()->activeApplication() ) {
|
if( SUIT_Application* anApp = SUIT_Session::session()->activeApplication() ) {
|
||||||
|
@ -980,6 +980,8 @@ void GeometryGUI::initialize( CAM_Application* app )
|
|||||||
{
|
{
|
||||||
SalomeApp_Module::initialize( app );
|
SalomeApp_Module::initialize( app );
|
||||||
|
|
||||||
|
setActionLoggingEnabled( true ); // enable action logging
|
||||||
|
|
||||||
// ----- create actions --------------
|
// ----- create actions --------------
|
||||||
|
|
||||||
createGeomAction( GEOMOp::OpDelete, "DELETE", "", Qt::Key_Delete );
|
createGeomAction( GEOMOp::OpDelete, "DELETE", "", Qt::Key_Delete );
|
||||||
|
Loading…
Reference in New Issue
Block a user