Cambiata la TMask:set_field_focus(). Testa la is_open() anziche' la
is_running(). git-svn-id: svn://10.65.10.50/trunk@2888 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
		
							parent
							
								
									7d49ee9d9f
								
							
						
					
					
						commit
						d3dcf935c5
					
				| @ -236,7 +236,7 @@ void TMask::set_focus_field(short id) | |||||||
|   const int pos = id2pos(id); |   const int pos = id2pos(id); | ||||||
|   CHECKD(pos >= 0, "Can't set focus to field ", id); |   CHECKD(pos >= 0, "Can't set focus to field ", id); | ||||||
|   _focus = pos; |   _focus = pos; | ||||||
|   if (is_running())   |   if (is_open())   | ||||||
|   { |   { | ||||||
|     const TMask_field& f = fld(pos); |     const TMask_field& f = fld(pos); | ||||||
|     int p = find_parent_page(f); |     int p = find_parent_page(f); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user