Fix non-section faces in ViewSection

This commit is contained in:
WandererFan
2016-06-10 09:14:44 -04:00
committed by wmayer
parent 6cec1df189
commit d26fa56838
4 changed files with 14 additions and 6 deletions

View File

@@ -79,6 +79,8 @@ void QGIViewSection::drawSectionFace()
QGIFace* newFace = drawFace(*fit,-1); //TODO: do we need to know which sectionFace this QGIFace came from?
newFace->setZValue(ZVALUE::SECTIONFACE);
newFace->setFill(faceColor, Qt::SolidPattern);
newFace->setPrettyNormal();
newFace->setAcceptHoverEvents(false);
newFace->setFlag(QGraphicsItem::ItemIsSelectable, false);
newFace->setAcceptHoverEvents(false);
}