Skip to content
Snippets Groups Projects
Commit 619dec50 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH: check that the handler is active before updating the curves

parent 1acf4e14
No related branches found
No related tags found
No related merge requests found
...@@ -90,7 +90,7 @@ public: ...@@ -90,7 +90,7 @@ public:
spacePoint[0] = m_RightAsymptote->GetAbcisse(); spacePoint[0] = m_RightAsymptote->GetAbcisse();
double abcisseR = m_Curve->TransformPoint(spacePoint)[0]; double abcisseR = m_Curve->TransformPoint(spacePoint)[0];
if (widgetId == m_Curve->GetIdentifier()) if (widgetId == m_Curve->GetIdentifier() && this->GetIsActive())
{ {
switch (event) switch (event)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment