mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-11-04 07:59:43 +01:00 
			
		
		
		
	Qt: pass mouse wheel events if control is disabled. issue #20402
git-svn-id: trunk@32668 -
This commit is contained in:
		
							parent
							
								
									ee8e6dfd3e
								
							
						
					
					
						commit
						a21a345ffc
					
				@ -3065,11 +3065,7 @@ var
 | 
			
		||||
  ModifierState: PtrInt;
 | 
			
		||||
begin
 | 
			
		||||
  Result := False;
 | 
			
		||||
  if not CanSendLCLMessage then
 | 
			
		||||
    exit;
 | 
			
		||||
 | 
			
		||||
  if (LCLObject <> nil) and
 | 
			
		||||
    (not (csDesigning in LCLObject.ComponentState) and not getEnabled) then
 | 
			
		||||
  if not CanSendLCLMessage or (LCLObject = nil) then
 | 
			
		||||
    exit;
 | 
			
		||||
 | 
			
		||||
  FillChar(Msg, SizeOf(Msg), #0);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user