VclPtr: clicking on another sidebar button when navigator open crashes
Change-Id: Iafcc7246a1149a25f6d6fdfb09cf3e85227580db
This commit is contained in:
@@ -77,7 +77,10 @@ void NavigatorWrapper::UpdateNavigator()
|
|||||||
|
|
||||||
void NavigatorWrapper::GetFocus()
|
void NavigatorWrapper::GetFocus()
|
||||||
{
|
{
|
||||||
maNavigator->GrabFocus();
|
if (maNavigator)
|
||||||
|
maNavigator->GrabFocus();
|
||||||
|
else
|
||||||
|
Control::GetFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
} } // end of namespace sd::sidebar
|
} } // end of namespace sd::sidebar
|
||||||
|
Reference in New Issue
Block a user