equal
deleted
inserted
replaced
346 instance_path = self.InstanceChoice.GetStringSelection() |
346 instance_path = self.InstanceChoice.GetStringSelection() |
347 item, flags = self.VariablesList.HitTest(event.GetPosition()) |
347 item, flags = self.VariablesList.HitTest(event.GetPosition()) |
348 if item is not None and flags & CT.TREE_HITTEST_ONITEMLABEL: |
348 if item is not None and flags & CT.TREE_HITTEST_ONITEMLABEL: |
349 item_infos = self.VariablesList.GetPyData(item) |
349 item_infos = self.VariablesList.GetPyData(item) |
350 if item_infos is not None and item_infos["class"] in ITEMS_VARIABLE: |
350 if item_infos is not None and item_infos["class"] in ITEMS_VARIABLE: |
|
351 self.ParentWindow.EnsureTabVisible( |
|
352 self.ParentWindow.DebugVariablePanel) |
351 item_path = "%s.%s" % (instance_path, item_infos["name"]) |
353 item_path = "%s.%s" % (instance_path, item_infos["name"]) |
352 data = wx.TextDataObject(str((item_path, "debug"))) |
354 data = wx.TextDataObject(str((item_path, "debug"))) |
353 dragSource = wx.DropSource(self.VariablesList) |
355 dragSource = wx.DropSource(self.VariablesList) |
354 dragSource.SetData(data) |
356 dragSource.SetData(data) |
355 dragSource.DoDragDrop() |
357 dragSource.DoDragDrop() |