sw/source/ui/frmdlg/column.cxx | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-)
New commits: commit 7d040153e8929f4a5a3362f04cd25e6ddb4d9f2c Author: Caolán McNamara <caol...@redhat.com> Date: Mon Feb 17 16:16:56 2014 +0000 Resolves: fdo#61704 update on modify, not up/down/lose-focus Change-Id: Ife98beb24d43f0e58f47c654ad8ef9605e5e3ffc diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx index c58aa29..82658bb 100644 --- a/sw/source/ui/frmdlg/column.cxx +++ b/sw/source/ui/frmdlg/column.cxx @@ -479,30 +479,18 @@ SwColumnPage::SwColumnPage(Window *pParent, const SfxItemSet &rSet) // announce Controls for additional region at the MoreButton Link aCLNrLk = LINK(this, SwColumnPage, ColModify); - m_pCLNrEdt->SetLoseFocusHdl(aCLNrLk); - m_pCLNrEdt->SetUpHdl(aCLNrLk); - m_pCLNrEdt->SetDownHdl(aCLNrLk); + m_pCLNrEdt->SetModifyHdl(aCLNrLk); Link aLk = LINK(this, SwColumnPage, GapModify); - aDistEd1.SetUpHdl(aLk); - aDistEd1.SetDownHdl(aLk); - aDistEd1.SetLoseFocusHdl(aLk); - aDistEd2.SetUpHdl(aLk); - aDistEd2.SetDownHdl(aLk); - aDistEd2.SetLoseFocusHdl(aLk); + aDistEd1.SetModifyHdl(aLk); + aDistEd2.SetModifyHdl(aLk); aLk = LINK(this, SwColumnPage, EdModify); - aEd1.SetUpHdl(aLk); - aEd1.SetDownHdl(aLk); - aEd1.SetLoseFocusHdl(aLk); + aEd1.SetModifyHdl(aLk); - aEd2.SetUpHdl(aLk); - aEd2.SetDownHdl(aLk); - aEd2.SetLoseFocusHdl(aLk); + aEd2.SetModifyHdl(aLk); - aEd3.SetUpHdl(aLk); - aEd3.SetDownHdl(aLk); - aEd3.SetLoseFocusHdl(aLk); + aEd3.SetModifyHdl(aLk); m_pBtnBack->SetClickHdl(LINK(this, SwColumnPage, Up)); m_pBtnNext->SetClickHdl(LINK(this, SwColumnPage, Down));
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits