LVM VG resize should be allowed if final size is exactly equal to used space.

I.e. replace strict inequality with more or equal.
This commit is contained in:
Andrius Štikonas 2016-11-07 18:57:30 +00:00
parent 3eddfe2374
commit f9c1665e87
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ void VolumeGroupDialog::updateSizeInfos()
dialogWidget().totalSize().setText(Capacity::formatByteSize(m_TotalSize));
//Probably a bad design for updating state here; the state should be changed inside the update button function.
m_IsValidSize = m_TotalSize > m_TotalUsedSize;
m_IsValidSize = m_TotalSize >= m_TotalUsedSize;
updateSectorInfos();
updateOkButtonStatus();
}