summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/control/ctrlbox.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index d67c69dce9e3..61d1d9e729ac 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -1597,12 +1597,12 @@ void SvtLineListBox::SelectEntry(SvxBorderLineStyle nStyle)
if (nStyle == SvxBorderLineStyle::NONE)
{
m_xLineSet->SetNoSelection();
- m_xNoneButton->set_has_default(true);
+ m_xNoneButton->grab_focus();
}
else
{
m_xLineSet->SelectItem(static_cast<sal_Int16>(nStyle) + 1);
- m_xNoneButton->set_has_default(false);
+ m_xLineSet->GrabFocus();
}
UpdatePreview();
}