Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wxGUI: fix calling coordselect validator #1455

Merged
merged 1 commit into from
Mar 23, 2021

Conversation

petrasovaa
Copy link
Contributor

Fixes using coordinate selection in dialogs:

Traceback (most recent call last):
  File "/home/anna/dev/grass/grass/dist.x86_64-pc-linux-
gnu/gui/wxpython/gui_core/gselect.py", line 2403, in
<lambda>

self.coordsField.Bind(wx.EVT_TEXT, lambda event:
self._draw(delay=1))
  File "/home/anna/dev/grass/grass/dist.x86_64-pc-linux-
gnu/gui/wxpython/gui_core/gselect.py", line 2451, in _draw

coords = self._getCoords()
  File "/home/anna/dev/grass/grass/dist.x86_64-pc-linux-
gnu/gui/wxpython/gui_core/gselect.py", line 2466, in
_getCoords

if self.coordsField.GetValidator().Validate():
TypeError
:
Validate() missing 1 required positional argument: 'parent'

@petrasovaa petrasovaa added bug Something isn't working backport_needed GUI wxGUI related labels Mar 13, 2021
@petrasovaa petrasovaa merged commit 647162b into OSGeo:master Mar 23, 2021
@neteler neteler added this to the 8.0.0 milestone Dec 9, 2021
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Oct 26, 2022
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GUI wxGUI related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants