From c9cc43e866124e75540695b12a71139b7fe92eee Mon Sep 17 00:00:00 2001 From: Alfonso Gregory Date: Wed, 14 Jul 2021 20:27:17 -0400 Subject: [PATCH] Update Grapher.cpp --- src/GraphControl/Control/Grapher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GraphControl/Control/Grapher.cpp b/src/GraphControl/Control/Grapher.cpp index b01f56d5..f41935ab 100644 --- a/src/GraphControl/Control/Grapher.cpp +++ b/src/GraphControl/Control/Grapher.cpp @@ -234,7 +234,7 @@ namespace GraphControl // If the equation has changed, the IsLineEnabled state is reset. // This checks if the equation has been reset and sets keepCurrentView to false in this case. - const bool keepCurrentView = equation->HasGraphError || equation->IsValidated || !equation->IsLineEnabled) + const bool keepCurrentView = equation->HasGraphError || equation->IsValidated || !equation->IsLineEnabled; PlotGraph(keepCurrentView); }