From 87c6d4a7ec33f14d674bc0c221be978ac3b83732 Mon Sep 17 00:00:00 2001 From: lsv Date: Mon, 20 Apr 2026 16:36:20 +0500 Subject: [PATCH] dlgSelectConnection resore Group. --- dlg/dlgSelectConnection.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlg/dlgSelectConnection.cpp b/dlg/dlgSelectConnection.cpp index 7370cec..f3c4f7a 100644 --- a/dlg/dlgSelectConnection.cpp +++ b/dlg/dlgSelectConnection.cpp @@ -438,6 +438,9 @@ int dlgSelectConnection::Go(pgConn *conn, wxBitmapComboBox *cb) bool foundServer = false; cbConnection = cb; currconn=conn; + wxString grpname=settings->Read(wxT("QuickConnect/group"), wxEmptyString); + int pos=cbGroup->FindString(grpname); + cbGroup->SetSelection(pos); foundServer = BuildServerCombo(conn); return ShowModal();