| commit | 4e123492d8d63d04a1c215c17981f0149df2f634 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Mon Aug 19 10:34:56 2019 +0100 |
| committer | Xisco Faulí <xiscofauli@libreoffice.org> | Tue Aug 20 10:43:00 2019 +0200 |
| tree | e91fee378d1391735616cfb831cf9df89671d061 | |
| parent | 0d055eb7e9222c0b981f3ba2265e35b11f39dbaa [diff] |
Resolves: tdf#127003 explicit grab focus needs explicit link callback Change-Id: I5131e5c49e7f7c2ef9bac8943420643ad8afef38 Reviewed-on: https://gerrit.libreoffice.org/77709 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx index 60af306..ff01ce6 100644 --- a/sc/source/ui/pagedlg/tphfedit.cxx +++ b/sc/source/ui/pagedlg/tphfedit.cxx
@@ -279,8 +279,11 @@ bool ScEditWindow::MouseMove( const MouseEvent& rMEvt ) bool ScEditWindow::MouseButtonDown( const MouseEvent& rMEvt ) { if ( !HasFocus() ) if (!HasFocus()) { GrabFocus(); GetFocus(); } return pEdView->MouseButtonDown( rMEvt ); }