summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/backgrnd.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-01-24 10:51:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-01-24 10:51:00 +0000
commit557f75e7e1c1603f4fed9f0535c9cfda2a447569 (patch)
tree721e4b45b48bb3d909c4d9d9a460478f5f9f4f90 /cui/source/tabpages/backgrnd.cxx
parent4b4cb23d22f99efc445be974c05030b23bc7d3d0 (diff)
set mnemonic widgets for background page
Change-Id: I977d8d7f1d14ea6616cf4dc3dc49d201804b7c39
Diffstat (limited to 'cui/source/tabpages/backgrnd.cxx')
-rw-r--r--cui/source/tabpages/backgrnd.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index afad498a15fc..74fa10d4a74c 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -1530,6 +1530,7 @@ void SvxBackgroundTabPage::ShowTblControl()
m_pTblLBox->SelectEntryPos(0);
m_pTblDesc->Show();
m_pTblLBox->Show();
+ m_pTblDesc->set_mnemonic_widget(m_pTblLBox);
}
//-----------------------------------------------------------------------
@@ -1538,10 +1539,11 @@ void SvxBackgroundTabPage::ShowParaControl(sal_Bool bCharOnly)
{
m_pParaLBox->SetSelectHdl(HDL(ParaDestinationHdl_Impl));
m_pParaLBox->SelectEntryPos(0);
- if(!bCharOnly)
+ if (!bCharOnly)
{
m_pTblDesc->Show();
m_pParaLBox->Show();
+ m_pTblDesc->set_mnemonic_widget(m_pParaLBox);
}
m_pParaLBox->SetData(m_pParaLBox); // here it can be recognized that this mode is turned on
}