diff --git a/src/modules/partition/gui/PartitionSplitterWidget.cpp b/src/modules/partition/gui/PartitionSplitterWidget.cpp index 601f5ba2b..3312bc0dd 100644 --- a/src/modules/partition/gui/PartitionSplitterWidget.cpp +++ b/src/modules/partition/gui/PartitionSplitterWidget.cpp @@ -477,7 +477,7 @@ PartitionSplitterWidget::drawPartitions( QPainter* painter, if ( m_itemToResize && m_itemToResizeNext && - items[ row - 1 ] == m_itemToResize->itemPath ) + items[ row - 1 ].itemPath == m_itemToResize->itemPath ) m_resizeHandleX = x; x += width;