Change Title windows Server ststus,Query

Убраны не важные слова из заголовка.
This commit is contained in:
lsv 2022-11-24 15:55:31 +05:00
parent 4f10ebc477
commit a2aad527ff
3 changed files with 3 additions and 3 deletions

View file

@ -1415,7 +1415,7 @@ void frmQuery::OnChangeConnection(wxCommandEvent &ev)
for (int i=0;i<len;i++) if (ctlSQL[i]!=NULL) ctlSQL[i]->SetConnection(conn);
//sqlResult->SetConnection(conn);
pgScript->SetConnection(conn);
title = wxT("Query - ") + cbConnection->GetValue();
title = wxT("") + cbConnection->GetValue();
setExtendedTitle();
seticon();
//Refresh GQB Tree if used

View file

@ -3935,7 +3935,7 @@ wxWindow *serverStatusFactory::StartDialog(frmMain *form, pgObject *obj)
pgConn *conn = server->CreateConn(wxEmptyString, 0, applicationname);
if (conn)
{
wxString txt = _("Server Status - ") + server->GetDescription()
wxString txt = server->GetDescription()
+ wxT(" (") + server->GetName() + wxT(":") + NumToStr((long)server->GetPort()) + wxT(")");
frmStatus *status = new frmStatus(form, txt, conn);

View file

@ -578,7 +578,7 @@ bool pgAdmin3::OnInit()
if (!conn)
return false;
wxString txt = _("Server Status - ") + conn->GetName();
wxString txt = conn->GetName();
frmStatus* fq = new frmStatus(NULL, txt, conn);
fq->Go();