diff --git a/source/tbl_properties.pas b/source/tbl_properties.pas index 76697ada..58793acf 100644 --- a/source/tbl_properties.pas +++ b/source/tbl_properties.pas @@ -304,7 +304,7 @@ begin AlterSpecs.Add( 'COLLATE ' + comboCollation.Text ); // Auto_increment - if currentAutoincrement <> editAutoincrement.Text then + if editAutoincrement.Enabled and (currentAutoincrement <> editAutoincrement.Text) then AlterSpecs.Add( 'AUTO_INCREMENT = ' + IntToStr( MakeInt(editAutoincrement.Text) ) ); if AlterSpecs.Count > 0 then