summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbaccess/source/ui/dlg/generalpage.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/dbaccess/source/ui/dlg/generalpage.cxx b/dbaccess/source/ui/dlg/generalpage.cxx
index 6e72732adebf..a88147217cfe 100644
--- a/dbaccess/source/ui/dlg/generalpage.cxx
+++ b/dbaccess/source/ui/dlg/generalpage.cxx
@@ -193,16 +193,12 @@ namespace dbaui
{
initializeTypeList();
- const OUString eOldSelection = m_eCurrentSelection;
-
m_pDatasourceType->SelectEntry( getDatasourceName( _rSet ) );
// notify our listener that our type selection has changed (if so)
- if ( eOldSelection != m_eCurrentSelection )
- {
- setParentTitle( m_eCurrentSelection );
- onTypeSelected( m_eCurrentSelection );
- }
+ // FIXME: how to detect that it did not changed? (fdo#62937)
+ setParentTitle( m_eCurrentSelection );
+ onTypeSelected( m_eCurrentSelection );
// a special message for the current page state
switchMessage( m_eCurrentSelection );