Corretto acquisto del focus da parte degli sheet
git-svn-id: svn://10.65.10.50/trunk@2494 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
e16bf87c4b
commit
34765dc516
@ -1004,7 +1004,17 @@ void TSpreadsheet::list_handler(XI_EVENT *xiev)
|
|||||||
_firstfocus = FALSE;
|
_firstfocus = FALSE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
mask().set_focus_win(win(), FALSE);
|
{
|
||||||
|
TMask_field& prev = mask().focus_field();
|
||||||
|
|
||||||
|
if (prev.test_focus_change())
|
||||||
|
mask().set_focus_win(win(), FALSE);
|
||||||
|
else
|
||||||
|
{
|
||||||
|
xiev->refused = TRUE;
|
||||||
|
mask().set_focus();
|
||||||
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case XIE_OFF_LIST:
|
case XIE_OFF_LIST:
|
||||||
on_idle();
|
on_idle();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user