Fix crash bug when loading files back to back and having flow view open.
This commit is contained in:
@@ -196,6 +196,8 @@ void FlowViewWindow::changeID(QString newID)
|
|||||||
}
|
}
|
||||||
currentPosition = 0;
|
currentPosition = 0;
|
||||||
|
|
||||||
|
if (frameCache.count() == 0) return;
|
||||||
|
|
||||||
removeAllGraphs();
|
removeAllGraphs();
|
||||||
for (int c = 0; c < frameCache.at(0).len; c++)
|
for (int c = 0; c < frameCache.at(0).len; c++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user