mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-29 10:25:36 -04:00
Try to make it more robust.
This commit is contained in:
parent
10c51528a9
commit
5eb6f6799e
1 changed files with 5 additions and 2 deletions
|
@ -476,13 +476,16 @@ PartitionSplitterWidget::drawPartitions( QPainter* painter,
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( m_itemToResize &&
|
if ( m_itemToResize &&
|
||||||
item.itemPath == m_itemToResize->itemPath )
|
m_itemToResizeNext &&
|
||||||
m_resizeHandleX = x + width;
|
items[ row - 1 ] == m_itemToResize->itemPath )
|
||||||
|
m_resizeHandleX = x;
|
||||||
|
|
||||||
x += width;
|
x += width;
|
||||||
}
|
}
|
||||||
if ( m_itemToResize && m_itemToResizeNext )
|
if ( m_itemToResize && m_itemToResizeNext )
|
||||||
|
{
|
||||||
drawResizeHandle( painter, rect, m_resizeHandleX );
|
drawResizeHandle( painter, rect, m_resizeHandleX );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue