Missing null check (triggered e.g. by CppunitTest_dbaccess_dialog_save)

Change-Id: I2f78ca59bfebbcffd9a6d0309c49179457bd9172
This commit is contained in:
Stephan Bergmann 2014-06-18 14:41:35 +02:00
parent 47b520024a
commit ae2cccdd2c

View File

@ -686,7 +686,7 @@ void OAppDetailPageHelper::setDetailPage(Window* _pWindow)
bool bHasFocus = false;
m_aFL.Show();
{
bHasFocus = pCurrent->HasChildPathFocus();
bHasFocus = pCurrent != 0 && pCurrent->HasChildPathFocus();
_pWindow->Show();
}
m_aTBPreview.Show();