Philipp Hörist pushed to branch unify-control at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/gui_interface.py
    ... ... @@ -398,13 +398,14 @@ def start_file_transfer(self,
    398 398
                                 path: Optional[str] = None,
    
    399 399
                                 method: Optional[str] = None
    
    400 400
                                 ) -> None:
    
    401
    +
    
    401 402
             if method is None:
    
    402 403
                 method = self._get_pref_ft_method(contact)
    
    403 404
                 if method is None:
    
    404 405
                     return
    
    405 406
     
    
    406 407
             control = app.window.get_control()
    
    407
    -        if control.has_active_chat():
    
    408
    +        if not control.has_active_chat():
    
    408 409
                 return
    
    409 410
     
    
    410 411
             if path is None: