From 9495f504c19bf2d70fb2d20a67842f726decf134 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Wed, 26 Jun 2013 04:19:38 +0000 Subject: [PATCH] Issue #3212: Display schema name also in database tab, to make it consistent with the tree. --- source/main.pas | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/main.pas b/source/main.pas index 93f61e02..41924105 100644 --- a/source/main.pas +++ b/source/main.pas @@ -4771,7 +4771,12 @@ begin Obj := Sender.GetNodeData(Node); CellText := ''; case Column of - 0: CellText := Obj.Name; + 0: begin + if Obj.Schema <> '' then + CellText := Obj.Schema + '.' + Obj.Name + else + CellText := Obj.Name; + end; 1: if Obj.Rows > -1 then CellText := FormatNumber(Obj.Rows); 2: if Obj.Size > -1 then CellText := FormatByteNumber(Obj.Size); 3: if Obj.Created <> 0 then CellText := DateTimeToStr(Obj.Created);