mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Fix issue #1204: unable to delete a "0" char in Default field in the table editor
This commit is contained in:
@@ -1202,7 +1202,7 @@ begin
|
||||
newText := IntToStr(Integer(cdtCurTS)) + 'CURRENT_TIMESTAMP'
|
||||
else
|
||||
newText := IntToStr(Integer(cdtAutoInc)) + 'AUTO_INCREMENT';
|
||||
if newtext <> FTree.Text[FNode, FColumn] then
|
||||
if newtext <> IntToStr(Integer(DefaultType)) + DefaultText then
|
||||
FTree.Text[FNode, FColumn] := newtext;
|
||||
if FTree.CanFocus then
|
||||
FTree.SetFocus;
|
||||
|
||||
Reference in New Issue
Block a user