Skip to content

Commit b72f259

Browse files
committed
fix: leave away schema when double-click table for inserting into query editor
Refs #551
1 parent f2028e1 commit b72f259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/main.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7614,7 +7614,7 @@ procedure TMainForm.SynMemoQueryDragDrop(Sender, Source: TObject; X,
76147614
lntTable..lntEvent: begin
76157615
if ShiftPressed then
76167616
Text := ActiveDbObj.QuotedDatabase(False) + '.';
7617-
Text := Text + ActiveDbObj.QuotedName(False);
7617+
Text := Text + ActiveDbObj.Connection.QuoteIdent(ActiveDbObj.Name, False);
76187618
end;
76197619
end;
76207620
end else if src = Tree then begin

0 commit comments

Comments
 (0)