objdictgen/subindextable.py
changeset 761 efff55931763
parent 757 8150518de469
child 782 c0869429c72a
--- a/objdictgen/subindextable.py	Thu Oct 04 17:19:55 2012 +0200
+++ b/objdictgen/subindextable.py	Wed Oct 31 12:06:29 2012 +0100
@@ -561,6 +561,7 @@
                             dragSource = wx.DropSource(self.SubindexGrid)
                             dragSource.SetData(data)
                             dragSource.DoDragDrop()
+                            return
             elif col == 0:
                 selected = self.IndexList.GetSelection()
                 node_id = self.ParentWindow.GetCurrentNodeId()
@@ -583,6 +584,7 @@
                             dragSource = wx.DropSource(self.SubindexGrid)
                             dragSource.SetData(data)
                             dragSource.DoDragDrop()
+                            return
         event.Skip()
 
     def OnAddButtonClick(self, event):