mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 12:29:27 +01:00 
			
		
		
		
	IDEintf: object inspector: comment
git-svn-id: trunk@44251 -
This commit is contained in:
		
							parent
							
								
									206cae270e
								
							
						
					
					
						commit
						86fdb15eae
					
				@ -1479,6 +1479,7 @@ begin
 | 
			
		||||
      end;
 | 
			
		||||
    end;
 | 
			
		||||
    {$ENDIF}
 | 
			
		||||
    // CurRow is now invalid, do not access CurRow
 | 
			
		||||
 | 
			
		||||
    if (OldChangeStep<>FChangeStep) then begin
 | 
			
		||||
      // the selection has changed => CurRow does not exist any more
 | 
			
		||||
@ -1628,8 +1629,10 @@ var
 | 
			
		||||
  NewValue: string;
 | 
			
		||||
  EditorAttributes: TPropertyAttributes;
 | 
			
		||||
begin
 | 
			
		||||
  //if FRows.Count=0 then
 | 
			
		||||
  //  debugln(['TOICustomPropertyGrid.SetItemIndex ',DbgSName(Self),' ',dbgsname(FCurrentEdit),' ',dbgs(FStates),' GridIsUpdating=',GridIsUpdating,' FItemIndex=',FItemIndex,' NewIndex=',NewIndex]);
 | 
			
		||||
  {if pgsCallingEdit in FStates then begin
 | 
			
		||||
    DumpStack;
 | 
			
		||||
    debugln(['TOICustomPropertyGrid.SetItemIndex ',DbgSName(Self),' ',dbgsname(FCurrentEdit),' ',dbgs(FStates),' GridIsUpdating=',GridIsUpdating,' FItemIndex=',FItemIndex,' NewIndex=',NewIndex]);
 | 
			
		||||
  end;}
 | 
			
		||||
  if GridIsUpdating or (FItemIndex = NewIndex) then
 | 
			
		||||
    exit;
 | 
			
		||||
  // save old edit value
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user