浏览代码

wxGUI: fix calling coordselect validator (#1455)

Anna Petrasova 4 年之前
父节点
当前提交
647162b017
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/gui_core/gselect.py

+ 1 - 1
gui/wxpython/gui_core/gselect.py

@@ -2463,7 +2463,7 @@ class CoordinatesSelect(Panel):
 
         :return: None if values are not valid
         """
-        if self.coordsField.GetValidator().Validate():
+        if self.coordsField.GetValidator().Validate(self):
             return self.coordsField.GetValue().split(',')
 
         return None