summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/propertyeditor.cxx3
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();
}