Re-enable toggle of display controls.

This commit is contained in:
Tats
2015-07-11 16:29:06 -06:00
parent 978b4ae7ae
commit 64bbd94f9a
8 changed files with 134 additions and 131 deletions
+2 -2
View File
@@ -39,11 +39,11 @@ MShape* DestinationGLCanvas::getShapeFromMappingId(uid mappingId)
void DestinationGLCanvas::drawForeground(QPainter *painter , const QRectF &rect)
{
if (this->displayTestSignal())
if (getMainWindow()->displayTestSignal())
{
glPushMatrix();
painter->save();
this->_drawTestSignal(painter);
_drawTestSignal(painter);
painter->restore();
glPopMatrix();
return;