TechDraw: Fix tree view selection not showing on page (#23593)
This commit is contained in:
@@ -116,6 +116,8 @@ QGIView::QGIView()
|
||||
m_lockHeight = (double) sizeLock.height();
|
||||
|
||||
m_lock->hide();
|
||||
m_border->hide();
|
||||
m_label->hide();
|
||||
}
|
||||
|
||||
void QGIView::isVisible(bool state)
|
||||
@@ -610,9 +612,7 @@ void QGIView::updateView(bool forceUpdate)
|
||||
rotateView();
|
||||
}
|
||||
|
||||
drawBorder(); // Draw the border then hide it so the label knows where to position itself
|
||||
m_border->hide();
|
||||
m_label->hide();
|
||||
drawBorder();
|
||||
|
||||
QGIView::draw();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user