diff options
author | David Tardon <dtardon@redhat.com> | 2015-05-28 10:05:58 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-05-28 10:06:45 +0200 |
commit | a14d7e3b41e1083edcebdeb3484e3cc6666dd63c (patch) | |
tree | 8d2da93251ed9b147c8340549b7a71bee2a47c92 /extensions | |
parent | 39f3039724f3933963f861f4afc24a92348eb991 (diff) |
tdf#91671 avoid use of already disposed control
Change-Id: I9cf5feeb2fc0ea91c7684aaf8adc2809907fa5d7
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/propertyeditor.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/propertyeditor.cxx b/extensions/source/propctrlr/propertyeditor.cxx index 73d8389a6b9d..60f72f4c980a 100644 --- a/extensions/source/propctrlr/propertyeditor.cxx +++ b/extensions/source/propctrlr/propertyeditor.cxx @@ -166,7 +166,8 @@ namespace pcr void OPropertyEditor::GetFocus() { - m_aTabControl->GrabFocus(); + if ( m_aTabControl ) + m_aTabControl->GrabFocus(); } |