Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Pivotto <roidelapluie@esquimaux.be>2008-08-08 12:59:31 +0400
committerJulien Pivotto <roidelapluie@esquimaux.be>2008-08-08 12:59:31 +0400
commit72e41475916691122aa3324d97166a74ae9f2e0d (patch)
tree1692ac81edea5d27daba6c62c02af7064db1a14b
parent9d48c69709b35d4ca875eab8f39aaacdaff59436 (diff)
Prevent a traceback when dragging a file over a groupchat. Fix #4142.
-rw-r--r--src/groupchat_control.py2
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]