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:
Volker Lanz 2010-04-15 14:25:55 +00:00
parent ee5f16ad34
commit 0bebc1a2d0
2 changed files with 0 additions and 3 deletions

2
TODO
View File

@ -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:

View File

@ -250,7 +250,6 @@ bool PartResizerWidget::movePartition(qint64 newFirstSector)
partition().setLastSector(newLastSector);
partition().fileSystem().setLastSector(newLastSector);
resizeLogicals();
updatePositions();
emit firstSectorChanged(partition().firstSector());