Patch level : 10.0

Files correlati     : cg3
Ricompilazione Demo : [ ]
Commento            :
Migliorata gestione maschere con tutti i campi a sola lettura


git-svn-id: svn://10.65.10.50/trunk@16992 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2008-08-04 10:50:05 +00:00
parent 974be34ba9
commit 063673823d

View File

@ -335,8 +335,10 @@ int TMask::first_focus(short id, bool dirty)
if (f < 0 || !fld(f).active())
{
f = find_first_active(curr_win());
if (f < 0 && toolwin())
if (f < 0 && toolwin() != NULL_WIN)
f = find_first_active(toolwin());
if (f < 0 && toolbar() != NULL_WIN)
f = find_first_active(toolbar());
}
}
}