Hides XY curve upon exiting mode

This commit is contained in:
Chris Esposito 2019-08-21 20:52:50 +10:00
parent 252b95c267
commit a4471c6ee6
1 changed files with 2 additions and 0 deletions

View File

@ -1118,6 +1118,8 @@ void isoDriver::setXYmode(bool enabled){
}
}
QCPCurve* curve = reinterpret_cast<QCPCurve*>(axes->plottable(0));
curve->setVisible(enabled);
emit enableCursorGroup(!enabled);
XYmode = enabled;
}