Skip to content

Commit

Permalink
log workspace name and id when changing
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorVieiraZ committed May 10, 2024
1 parent bbae798 commit a6e12ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/merginuserinfo.cpp
Expand Up @@ -220,6 +220,10 @@ void MerginUserInfo::setActiveWorkspace( int newWorkspace )
settings.beginGroup( "Input/" );
settings.setValue( "lastUsedWorkspace", mActiveWorkspace );
settings.endGroup();

CoreUtils::log( QStringLiteral( "Workspace Name" ), QStringLiteral( "%1" ).arg( activeWorkspaceName() ) );
CoreUtils::log( QStringLiteral( "Workspace ID" ), QStringLiteral( " %1" ).arg( newWorkspace ) );

emit activeWorkspaceChanged();
}

Expand Down

0 comments on commit a6e12ab

Please sign in to comment.