mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Re-enable toggle of display controls.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user