Fix for crash in flowview when the clear button is pressed on the main screen.
This commit is contained in:
@@ -656,6 +656,7 @@ void FlowViewWindow::updatePosition(bool forward)
|
|||||||
|
|
||||||
void FlowViewWindow::updateGraphLocation()
|
void FlowViewWindow::updateGraphLocation()
|
||||||
{
|
{
|
||||||
|
if (frameCache.count() == 0) return;
|
||||||
int start = currentPosition - 5;
|
int start = currentPosition - 5;
|
||||||
if (start < 0) start = 0;
|
if (start < 0) start = 0;
|
||||||
int end = currentPosition + 5;
|
int end = currentPosition + 5;
|
||||||
|
|||||||
Reference in New Issue
Block a user