Draw the handle when it matters.
This commit is contained in:
parent
3238498e48
commit
9682520c61
@ -482,14 +482,13 @@ PartitionSplitterWidget::drawPartitions( QPainter* painter,
|
||||
m_itemToResizeNext &&
|
||||
row > 0 &&
|
||||
items[ row - 1 ].itemPath == m_itemToResize->itemPath )
|
||||
{
|
||||
m_resizeHandleX = x;
|
||||
drawResizeHandle( painter, rect, m_resizeHandleX );
|
||||
}
|
||||
|
||||
x += width;
|
||||
}
|
||||
if ( m_itemToResize && m_itemToResizeNext )
|
||||
{
|
||||
drawResizeHandle( painter, rect, m_resizeHandleX );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user