diff options
author | akki95 <akshaydeepiitr@gmail.com> | 2016-01-26 03:52:42 +0530 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2016-01-29 11:09:16 +0100 |
commit | 90e18b514f639827091cee0f04892d999046eb18 (patch) | |
tree | afd9e6189d19bcf331795660fb8f734d85665de6 /dbaccess/source | |
parent | 80321c5f6bcd103439ae44777cfba1ca94a131d1 (diff) |
tdf#45775 PgSQL new DB allow empty Datasource
Change-Id: I5d672629ddf7f153f0ad1927f0f6c0ffc545c3ab
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(); } |