Author: roidelapluie Date: 2008-08-08 10:59:31 +0200 (Fri, 08 Aug 2008) New Revision: 10153
Modified: trunk/src/groupchat_control.py Log: Prevent a traceback when dragging a file over a groupchat. Fix #4142.
Modified: trunk/src/groupchat_control.py =================================================================== --- trunk/src/groupchat_control.py 2008-08-07 22:08:08 UTC (rev 10152) +++ trunk/src/groupchat_control.py 2008-08-08 08:59:31 UTC (rev 10153) @@ -1777,7 +1777,7 @@ # 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]