summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-12-02 21:14:00 +0100
committerJulien Nabet <serval2412@yahoo.fr>2015-12-02 20:48:07 +0000
commit103cd686de34b668a838c459f3d827c02e704656 (patch)
tree1f2648afa6d1b2d6f9c5ae1e86c49dedb66fb7b0
parent94427a1b000344b24948374953a099571901a2ed (diff)
tdf#96012: Type formatting in Base shouldn't be multiselect
Disable multiselect and don't manually select the entry Change-Id: Id04e757e4d2031718f95af1d0f512b4ca2df205c Reviewed-on: https://gerrit.libreoffice.org/20360 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--dbaccess/source/ui/misc/WTypeSelect.cxx4
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()