Fix crash bugs in discrete state and flowview windows.

This commit is contained in:
Collin Kidder
2017-01-08 19:26:51 -05:00
parent 3d4db6e921
commit 02aff6e0e0
2 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -126,8 +126,8 @@ void DiscreteStateWindow::updatedFrames(int numFrames)
listItem->setCheckState(Qt::Checked); //default all filters to be set active
}
if (operatingState == DWStates::IDLE) stateFrames[0]->append(thisFrame);
else stateFrames[currToggleState + 1]->append(thisFrame);
//if (operatingState == DWStates::IDLE) stateFrames[0]->append(thisFrame);
//else stateFrames[currToggleState + 1]->append(thisFrame);
}
}
}