mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 09:25:36 -04:00
Don't segfault on free space in Splitter widget.
This commit is contained in:
parent
c5db05fff7
commit
d6de5be8d0
1 changed files with 2 additions and 0 deletions
|
@ -487,6 +487,8 @@ PartitionSplitterWidget::drawPartitions( QPainter* painter,
|
|||
if ( m_itemToResize &&
|
||||
m_itemToResizeNext &&
|
||||
row > 0 &&
|
||||
!items[ row - 1 ].isFreeSpace &&
|
||||
!items[ row - 1 ].itemPath.isEmpty() &&
|
||||
items[ row - 1 ].itemPath == m_itemToResize->itemPath )
|
||||
{
|
||||
m_resizeHandleX = x;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue