--- a/controls/DebugVariablePanel.py Wed Feb 27 22:35:46 2013 +0100
+++ b/controls/DebugVariablePanel.py Thu Feb 28 00:20:05 2013 +0100
@@ -354,19 +354,19 @@
- if len(values) > 1 and values[2] == "move":
+ if len(values) > 2 and values[2] == "move": self.ParentWindow.MoveValue(values[0], target_idx)
self.ParentWindow.InsertValue(values[0], target_idx, force=True)
- if len(values) > 1 and values[2] == "move":
+ if len(values) > 2 and values[2] == "move": self.ParentWindow.MoveValue(values[0], target_idx)
self.ParentWindow.InsertValue(values[0], target_idx, force=True)
- elif len(values) > 1 and values[2] == "move":
+ elif len(values) > 2 and values[2] == "move": self.ParentWindow.MoveValue(values[0])
self.ParentWindow.InsertValue(values[0], force=True)