[GRASS-git] [OSGeo/grass] 569864: wxGUI: do not crash on localized GUIs (#2488)

Māris Nartišs noreply at github.com
Thu Jul 21 05:35:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 56986425aac11e44d352b10812a69610d80f60da
      https://github.com/OSGeo/grass/commit/56986425aac11e44d352b10812a69610d80f60da
  Author: Māris Nartišs <maris.gis at gmail.com>
  Date:   2022-07-21 (Thu, 21 Jul 2022)

  Changed paths:
    M gui/wxpython/lmgr/workspace.py

  Log Message:
  -----------
  wxGUI: do not crash on localized GUIs (#2488)

PR #2469 (908c5e23bf8fc23f5a0602dd1cc03cab6bd4ad37) introduced
a code that uses English UI strings to identify UI elements.
In the case of a translated UI it fails to get element and then
proceeds to manipulate with not existing element leading to
an assert in C++ wx code.




More information about the grass-commit mailing list