diff options
author | Julien Pivotto <roidelapluie@esquimaux.be> | 2008-08-08 12:59:31 +0400 |
---|---|---|
committer | Julien Pivotto <roidelapluie@esquimaux.be> | 2008-08-08 12:59:31 +0400 |
commit | 72e41475916691122aa3324d97166a74ae9f2e0d (patch) | |
tree | 1692ac81edea5d27daba6c62c02af7064db1a14b | |
parent | 9d48c69709b35d4ca875eab8f39aaacdaff59436 (diff) |
Prevent a traceback when dragging a file over a groupchat. Fix #4142.
-rw-r--r-- | src/groupchat_control.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/groupchat_control.py b/src/groupchat_control.py index 6a64d0b23..fc2234af5 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -1777,7 +1777,7 @@ class GroupchatControl(ChatControlBase): # Invite contact to groupchat treeview = gajim.interface.roster.tree model = treeview.get_model() - if not selection.data: + if not selection.data or target_type == 80: return data = selection.data path = treeview.get_selection().get_selected_rows()[1][0] |