Avoid warning display when moving start of extended partition
Moving the start sector of an extended partition should not adversely affect booting an operating system because an extended partition is only a container for logical partitions.
This commit is contained in:
parent
98771d8bfa
commit
c814b25a3a
|
@ -1542,7 +1542,9 @@ void Win_GParted::activate_resize()
|
||||||
Add_Operation( operation ) ;
|
Add_Operation( operation ) ;
|
||||||
|
|
||||||
//Display notification if move operation has been queued
|
//Display notification if move operation has been queued
|
||||||
if ( operation ->partition_original .sector_start != operation ->partition_new .sector_start )
|
if ( operation ->partition_original .sector_start != operation ->partition_new .sector_start
|
||||||
|
&& operation ->partition_original .type != TYPE_EXTENDED
|
||||||
|
)
|
||||||
{
|
{
|
||||||
//Warn that move operation might break boot process
|
//Warn that move operation might break boot process
|
||||||
Gtk::MessageDialog dialog( *this
|
Gtk::MessageDialog dialog( *this
|
||||||
|
|
Loading…
Reference in New Issue