author | Surkov Sergey <surkovsv93@gmail.com> |
Mon, 15 Jan 2018 12:06:24 +0300 | |
changeset 1965 | f77bc4fdc73c |
parent 1964 | b9318fc8f033 |
child 1966 | 08f70b33bc9f |
--- a/controls/DebugVariablePanel/DebugVariablePanel.py Fri Jan 12 18:36:02 2018 +0300 +++ b/controls/DebugVariablePanel/DebugVariablePanel.py Mon Jan 15 12:06:24 2018 +0300 @@ -237,7 +237,7 @@ default_range_idx = 0 for idx, (text, _value) in enumerate(RANGE_VALUES): self.CanvasRange.Append(text) - if text == "1s": + if _value == 1000000000: default_range_idx = idx self.CanvasRange.SetSelection(default_range_idx)