Daniel Brötzmann pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/gtk/chat_action_processor.py
    ... ... @@ -107,7 +107,9 @@ def _on_key_press(self,
    107 107
             return False
    
    108 108
     
    
    109 109
         def _on_focus_out(self, *args: Any) -> bool:
    
    110
    -        self.popdown()
    
    110
    +        # Add 100 ms timeout in order to process potential menu item click
    
    111
    +        # events (which will emit focus-out-event on the message input)
    
    112
    +        GLib.timeout_add(100, self.popdown)
    
    111 113
             return False
    
    112 114
     
    
    113 115
         def _on_popover_closed(self, _popover: Gtk.Popover) -> None: