diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-09 13:50:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-09 13:51:18 +0100 |
commit | fef9bf4e39b041c7f13e4d1584e3086068e781fc (patch) | |
tree | bc01cfa17b6b9e6d9a3693b583a2f82a0af3cd26 | |
parent | ffc06f9f62497cf6a3ca1ad01e53e0c07ce57c75 (diff) |
Resolves: fdo#82270 Grabbing focus can invalidate the entries
Change-Id: Ie9b4f936cebdcf2a37e66abef456c6b0c0e26201
-rw-r--r-- | svtools/source/contnr/svimpbox.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx index c2fb5bd985d4..aed04d3751ab 100644 --- a/svtools/source/contnr/svimpbox.cxx +++ b/svtools/source/contnr/svimpbox.cxx @@ -2049,6 +2049,8 @@ void SvImpLBox::MouseButtonDown( const MouseEvent& rMEvt ) nCurTabPos = FIRST_ENTRY_TAB; nFlags &= (~F_FILLING); pView->GrabFocus(); + //fdo#82270 Grabbing focus can invalidate the entries, re-fetch + pEntry = GetEntry(aPos); // the entry can still be invalid! if( !pEntry || !pView->GetViewData( pEntry )) return; |