fix fix for grab dialog focus: null checks are important

ticket #1410


SVN revision: 75754
This commit is contained in:
Mike Blumenkrantz 2012-08-28 06:48:28 +00:00
parent 5acb47cc0c
commit 33f252cc9c
1 changed files with 1 additions and 2 deletions

View File

@ -107,12 +107,11 @@ e_grab_dialog_show(E_Win *parent, Eina_Bool is_mouse, Ecore_Event_Handler_Cb key
E_Grab_Dialog *eg;
Ecore_Event_Handler *eh;
e_border_focus_set(parent->border, 0, 1);
if (parent)
{
con = parent->container;
man = con->manager;
e_border_focus_set(parent->border, 0, 1);
}
else
{