Don't update logicals when moving an extended partition:
Moving extended partitions is not allowed if they have logicals and calling the resizeLogicals() method will remove the unallocated partition the user has with an 98% probability clicked to drag from under our feet, causing moving to fail. svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1115167
This commit is contained in:
parent
ee5f16ad34
commit
0bebc1a2d0
2
TODO
2
TODO
|
@ -21,8 +21,6 @@ Bugs to fix for 1.1:
|
|||
|
||||
* make sure the default file system can indeed be created
|
||||
|
||||
* moving an empty extended partition is currently broken
|
||||
|
||||
===============================================================================
|
||||
|
||||
For releases after 1.1:
|
||||
|
|
|
@ -250,7 +250,6 @@ bool PartResizerWidget::movePartition(qint64 newFirstSector)
|
|||
partition().setLastSector(newLastSector);
|
||||
partition().fileSystem().setLastSector(newLastSector);
|
||||
|
||||
resizeLogicals();
|
||||
updatePositions();
|
||||
|
||||
emit firstSectorChanged(partition().firstSector());
|
||||
|
|
Loading…
Reference in New Issue