mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Only display tables in reference table pulldown of foreign key editor. Stored procedures or triggers cannot be applied here. Fixes issue #1668.
This commit is contained in:
@ -2036,8 +2036,10 @@ begin
|
||||
EnumEditor := TEnumEditorLink.Create(VT);
|
||||
EnumEditor.AllowCustomText := True;
|
||||
DBObjects := Mainform.Connection.GetDBObjects(Mainform.ActiveDatabase);
|
||||
for i:=0 to DBObjects.Count-1 do
|
||||
for i:=0 to DBObjects.Count-1 do begin
|
||||
if DBObjects[i].NodeType = lntTable then
|
||||
EnumEditor.ValueList.Add(DBObjects[i].Name);
|
||||
end;
|
||||
EditLink := EnumEditor;
|
||||
end;
|
||||
3: begin
|
||||
|
Reference in New Issue
Block a user