From 0bebc1a2d0be840234edf309538c6f0a66f98ae6 Mon Sep 17 00:00:00 2001 From: Volker Lanz Date: Thu, 15 Apr 2010 14:25:55 +0000 Subject: [PATCH] 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 --- TODO | 2 -- src/gui/partresizerwidget.cpp | 1 - 2 files changed, 3 deletions(-) diff --git a/TODO b/TODO index eb20531..92d2d69 100644 --- a/TODO +++ b/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: diff --git a/src/gui/partresizerwidget.cpp b/src/gui/partresizerwidget.cpp index ced00b9..c274f32 100644 --- a/src/gui/partresizerwidget.cpp +++ b/src/gui/partresizerwidget.cpp @@ -250,7 +250,6 @@ bool PartResizerWidget::movePartition(qint64 newFirstSector) partition().setLastSector(newLastSector); partition().fileSystem().setLastSector(newLastSector); - resizeLogicals(); updatePositions(); emit firstSectorChanged(partition().firstSector());