mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Fix issue #1176: Can't change table engine after creation. Seems a TCombobox.OnChange is not fired if a OnSelect coexists.
This commit is contained in:
@ -368,7 +368,6 @@ object frmTableEditor: TfrmTableEditor
|
|||||||
Anchors = [akLeft, akTop, akRight]
|
Anchors = [akLeft, akTop, akRight]
|
||||||
ItemHeight = 0
|
ItemHeight = 0
|
||||||
TabOrder = 6
|
TabOrder = 6
|
||||||
OnChange = Modification
|
|
||||||
OnSelect = comboEngineSelect
|
OnSelect = comboEngineSelect
|
||||||
end
|
end
|
||||||
object chkCharsetConvert: TCheckBox
|
object chkCharsetConvert: TCheckBox
|
||||||
|
@ -1081,6 +1081,7 @@ begin
|
|||||||
IsMerge := (Sender as TComboBox).Text = 'MRG_MYISAM';
|
IsMerge := (Sender as TComboBox).Text = 'MRG_MYISAM';
|
||||||
memoUnionTables.Enabled := IsMerge;
|
memoUnionTables.Enabled := IsMerge;
|
||||||
comboInsertMethod.Enabled := IsMerge;
|
comboInsertMethod.Enabled := IsMerge;
|
||||||
|
Modification(Sender);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user