diff options
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/ui/dlg/ConnectionPageSetup.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dbaccess/source/ui/dlg/ConnectionPageSetup.cxx b/dbaccess/source/ui/dlg/ConnectionPageSetup.cxx index 21e1ea317ed7..864b4066baa9 100644 --- a/dbaccess/source/ui/dlg/ConnectionPageSetup.cxx +++ b/dbaccess/source/ui/dlg/ConnectionPageSetup.cxx @@ -138,6 +138,9 @@ namespace dbaui //! TODO //if ( ::dbaccess::DST_ORACLE_JDBC == m_eType ) // m_eType = ::dbaccess::DST_JDBC; + if(m_pCollection->determineType(m_eType) == ::dbaccess::DST_POSTGRES){ + SetRoadmapStateValue(true); + } OConnectionHelper::implInitControls(_rSet, _bSaveValue); @@ -168,6 +171,8 @@ namespace dbaui } bool OConnectionTabPageSetup::checkTestConnection() { + if ( m_pCollection->determineType(m_eType) == ::dbaccess::DST_POSTGRES ) + return true; return !m_pConnectionURL->IsVisible() || !m_pConnectionURL->GetTextNoPrefix().isEmpty(); } |