controls/DebugVariablePanel/DebugVariableViewer.py
changeset 1847 6198190bc121
parent 1841 9fd29e8b1393
child 1850 614396cbffbf
--- a/controls/DebugVariablePanel/DebugVariableViewer.py	Tue Oct 03 16:31:31 2017 +0300
+++ b/controls/DebugVariablePanel/DebugVariableViewer.py	Thu Oct 05 16:38:49 2017 +0300
@@ -248,7 +248,7 @@
         Function that refresh buttons position in Viewer
         """
         # Get Viewer size
-        width, height = self.GetSize()
+        width, _height = self.GetSize()
 
         # Buttons are align right so we calculate buttons positions in
         # reverse order
@@ -262,7 +262,7 @@
             if button.IsEnabled():
                 # Update button position according to button width and offset
                 # on x coordinate
-                w, h = button.GetSize()
+                w, _h = button.GetSize()
                 button.SetPosition(width - 5 - w - x_offset, 5)
                 # Update offset on x coordinate
                 x_offset += w + 2
@@ -372,7 +372,7 @@
         @param y: Y coordinate of mouse pointer
         """
         # Get Viewer size
-        width, height = self.GetSize()
+        _width, height = self.GetSize()
 
         # Mouse is in the first half of Viewer
         if y < height / 2: