diff options
Diffstat (limited to 'vcl/source/control/combobox.cxx')
-rw-r--r-- | vcl/source/control/combobox.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx index 360053e4134d..e8d93f1ea52c 100644 --- a/vcl/source/control/combobox.cxx +++ b/vcl/source/control/combobox.cxx @@ -384,9 +384,17 @@ IMPL_LINK_NOARG(ComboBox, ImplSelectHdl, LinkParamNone*, void) m_pSubEdit->SetSelection(aNewSelection); break; } + case ComboBoxTextSelectionMode::CursorToStart: + { + Selection aNewSelection(0, 0); + m_pSubEdit->SetSelection(aNewSelection); + break; + } case ComboBoxTextSelectionMode::CursorToEnd: + { m_pSubEdit->SetCursorAtLast(); break; + } default: assert(false && "Unhandled ComboBoxTextSelectionMode case"); break; |