diff -r 14b40afccd69 -r 6198190bc121 controls/DebugVariablePanel/DebugVariableTextViewer.py --- a/controls/DebugVariablePanel/DebugVariableTextViewer.py Tue Oct 03 16:31:31 2017 +0300 +++ b/controls/DebugVariablePanel/DebugVariableTextViewer.py Thu Oct 05 16:38:49 2017 +0300 @@ -101,7 +101,7 @@ # Get Before which Viewer the variable has to be moved or added # according to the position of mouse in Viewer. - width, height = self.ParentControl.GetSize() + _width, height = self.ParentControl.GetSize() target_idx = self.ParentControl.GetIndex() if y > height / 2: target_idx += 1 @@ -237,7 +237,7 @@ item = self.ItemsDict.values()[0] # Calculate item path bounding box - width, height = self.GetSize() + _width, height = self.GetSize() item_path = item.GetVariable( self.ParentWindow.GetVariableNameMask()) w, h = self.GetTextExtent(item_path)