diff options
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/misc/WTypeSelect.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dbaccess/source/ui/misc/WTypeSelect.cxx b/dbaccess/source/ui/misc/WTypeSelect.cxx index ba9e35ebb0b3..5ff28dc4b682 100644 --- a/dbaccess/source/ui/misc/WTypeSelect.cxx +++ b/dbaccess/source/ui/misc/WTypeSelect.cxx @@ -246,7 +246,7 @@ OWizTypeSelect::OWizTypeSelect( vcl::Window* pParent, SvStream* _pStream ) m_pAutoEt->SetText("10"); m_pAutoEt->SetDecimalDigits(0); m_pAutoPb->SetClickHdl(LINK(this,OWizTypeSelect,ButtonClickHdl)); - m_pColumnNames->EnableMultiSelection(true); + m_pColumnNames->EnableMultiSelection(false); try { @@ -288,8 +288,6 @@ IMPL_LINK_NOARG_TYPED( OWizTypeSelect, ColumnSelectHdl, ListBox&, void ) OFieldDescription* pField = static_cast<OFieldDescription*>(m_pColumnNames->GetEntryData(m_pColumnNames->GetEntryPos(aColumnName))); if(pField) m_pTypeControl->DisplayData(pField); - - m_pTypeControl->Enable(m_pColumnNames->GetSelectEntryCount() == 1 ); } void OWizTypeSelect::Reset() |