forked from enlightenment/enlightenment
fix fix for grab dialog focus: null checks are important
ticket #1410 SVN revision: 75754
This commit is contained in:
parent
5acb47cc0c
commit
33f252cc9c
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue