Fixed Drag'n dropping from PouInstanceVariablesPanel ensuring DebugVariablePanel is visible before starting drag'n drop
--- a/controls/PouInstanceVariablesPanel.py Thu May 09 18:40:38 2013 +0200
+++ b/controls/PouInstanceVariablesPanel.py Thu May 09 18:49:08 2013 +0200
@@ -348,6 +348,8 @@
if item is not None and flags & CT.TREE_HITTEST_ONITEMLABEL:
item_infos = self.VariablesList.GetPyData(item)
if item_infos is not None and item_infos["class"] in ITEMS_VARIABLE:
+ self.ParentWindow.EnsureTabVisible(
+ self.ParentWindow.DebugVariablePanel)
item_path = "%s.%s" % (instance_path, item_infos["name"])
data = wx.TextDataObject(str((item_path, "debug")))
dragSource = wx.DropSource(self.VariablesList)