# HG changeset patch # User Laurent Bessard # Date 1351681589 -3600 # Node ID efff559317634aa6abaf288ea7a48266b8e4cb57 # Parent 8150518de469cdf3b41f6123ccb583d53895958f Fix bug when Drag'n Dropping located variables on Windows diff -r 8150518de469 -r efff55931763 objdictgen/subindextable.py --- 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):