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:07:12 +0200 |
commit | ac633cec1b2b7d6f2ffaa128490f2b90f977b024 (patch) | |
tree | 2943dfb3176a4065b742e932394b05306e7acb6d | |
parent | 3bc8e5f81b85b02a34cd6bb9080ba0fe1505bd33 (diff) |
tdf#91671 avoid use of already disposed control
Change-Id: I9cf5feeb2fc0ea91c7684aaf8adc2809907fa5d7
(cherry picked from commit a14d7e3b41e1083edcebdeb3484e3cc6666dd63c)
-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(); } |