7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-18 16:09:18 +00:00

qa: fix setting of router mode (single/diff) in pns_log_viewer

This commit is contained in:
Tomasz Wlostowski 2025-02-02 18:41:27 +01:00
parent 9f2eade5f5
commit 849e3d2f18

View File

@ -102,6 +102,8 @@ void PNS_LOG_PLAYER::ReplayLog( PNS_LOG_FILE* aLog, int aStartEventIndex, int aF
int eventIdx = 0;
int totalEvents = aLog->Events().size();
m_router->SetMode( aLog->GetMode() );
for( auto evt : aLog->Events() )
{
if( eventIdx < aFrom || ( aTo >= 0 && eventIdx > aTo ) )