Fixed bug with broken display of MSG ID frames

This commit is contained in:
Jordan Sherer 2019-09-07 22:15:08 -04:00
parent 8b62c5b9a8
commit a882e1d9a5

View File

@ -11448,7 +11448,10 @@ void MainWindow::displayBandActivity() {
}
// if our previous item should not be displayed and we have a MSG ID, then don't display it either.
if(i > 0 && !items[i-1].shouldDisplay && item.text.contains(" MSG ID ")){
if(
(i == 0 || (i > 0 && !items[i-1].shouldDisplay)) &&
(item.text.contains(" MSG ID "))
){
shouldDisplay = false;
}
}