[TD]fix Front lock icon in DPG

This commit is contained in:
wandererfan
2019-10-07 08:06:57 -04:00
committed by WandererFan
parent a276bf46ee
commit 97c17029a6
5 changed files with 28 additions and 1 deletions

View File

@@ -502,7 +502,8 @@ void QGIView::drawBorder()
double lockX = frameArea.left();
double lockY = frameArea.bottom() - m_lockHeight;
if (feat->isLocked()) {
if (feat->isLocked() &&
feat->showLock()) {
m_lock->setZValue(ZVALUE::LOCK);
m_lock->setPos(lockX,lockY);
m_lock->show();