mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-31 00:55:13 +01:00
Fixed display artifact in the graph tab bar
Yet another workaroud for the Qt 6.7 bug that draws QGraphicsScene items to the graph tab bar. Follow up to 6ce0b032956b21630c899d245e00108547d975c5.
This commit is contained in:
parent
c5a7a4bb0e
commit
8c2e2f65c3
@ -357,7 +357,8 @@ void GraphView::redraw(const QSizeF &size)
|
||||
|
||||
void GraphView::resizeEvent(QResizeEvent *e)
|
||||
{
|
||||
redraw(e->size() - QSizeF(MARGIN, MARGIN));
|
||||
if (!_graphs.isEmpty())
|
||||
redraw(e->size() - QSizeF(MARGIN, MARGIN));
|
||||
|
||||
QGraphicsView::resizeEvent(e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user