mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 18:12:05 +08:00
Bring more implicit modification calls into the right place so the ALTER code is displayed correctly
This commit is contained in:
@ -400,6 +400,10 @@ var
|
|||||||
i: Integer;
|
i: Integer;
|
||||||
Parts: TWideStringlist;
|
Parts: TWideStringlist;
|
||||||
begin
|
begin
|
||||||
|
// Enable converting data for an existing table
|
||||||
|
chkCharsetConvertClick(comboCollation);
|
||||||
|
// Assist the user in auto unchecking this checkbox so data doesn't get converted more than once accidently
|
||||||
|
chkCharsetConvert.Checked := False;
|
||||||
// Reset modification flags of TEdits and TMemos
|
// Reset modification flags of TEdits and TMemos
|
||||||
for i:=0 to ComponentCount-1 do
|
for i:=0 to ComponentCount-1 do
|
||||||
Components[i].Tag := NotModifiedFlag;
|
Components[i].Tag := NotModifiedFlag;
|
||||||
@ -415,10 +419,6 @@ begin
|
|||||||
Parts.Assign(TWideStringlist(Indexes.Objects[i]));
|
Parts.Assign(TWideStringlist(Indexes.Objects[i]));
|
||||||
OldIndexes.AddObject(Indexes[i], Parts);
|
OldIndexes.AddObject(Indexes[i], Parts);
|
||||||
end;
|
end;
|
||||||
// Enable converting data for an existing table
|
|
||||||
chkCharsetConvertClick(comboCollation);
|
|
||||||
// Assist the user in auto unchecking this checkbox so data doesn't get converted more than once accidently
|
|
||||||
chkCharsetConvert.Checked := False;
|
|
||||||
Modified := False;
|
Modified := False;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user