summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/relationdesign/RelationDesignView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/relationdesign/RelationDesignView.cxx')
-rw-r--r--dbaccess/source/ui/relationdesign/RelationDesignView.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/relationdesign/RelationDesignView.cxx b/dbaccess/source/ui/relationdesign/RelationDesignView.cxx
index 72e75deb07b9..5e7f370b8600 100644
--- a/dbaccess/source/ui/relationdesign/RelationDesignView.cxx
+++ b/dbaccess/source/ui/relationdesign/RelationDesignView.cxx
@@ -69,7 +69,7 @@ bool ORelationDesignView::PreNotify( NotifyEvent& rNEvt )
bool nDone = false;
if(rNEvt.GetType() == MouseNotifyEvent::GETFOCUS)
{
- if(!m_pTableView->HasChildPathFocus())
+ if(m_pTableView && !m_pTableView->HasChildPathFocus())
{
m_pTableView->GrabTabWinFocus();
nDone = true;