mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-02 20:05:37 -04:00
Restore sizes.
This commit is contained in:
parent
430a4feea9
commit
1bc0c41f02
1 changed files with 3 additions and 0 deletions
|
@ -119,6 +119,7 @@ PartitionSplitterWidget::setSplitPartition( const QString& path,
|
|||
if ( m_items[ i ].itemPath == m_itemToResize->itemPath &&
|
||||
i + 1 < m_items.count() )
|
||||
{
|
||||
m_items[ i ].size = m_items[ i ].size + m_itemToResizeNext->size;
|
||||
m_items.removeAt( i + 1 );
|
||||
m_itemToResizeNext = nullptr;
|
||||
break;
|
||||
|
@ -130,6 +131,8 @@ PartitionSplitterWidget::setSplitPartition( const QString& path,
|
|||
if ( m_items[ i ].children[ j ].itemPath == m_itemToResize->itemPath &&
|
||||
j + 1 < m_items[ i ].children.count() )
|
||||
{
|
||||
m_items[ i ].children[ j ].size =
|
||||
m_items[ i ].children[ j ].size + m_itemToResizeNext->size;
|
||||
m_items[ i ].children.removeAt( j + 1 );
|
||||
m_itemToResizeNext = nullptr;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue