[GRASS-dev] [GRASS GIS] #3009: "Quit GRASS GIS" button only exits GUI
GRASS GIS
trac at osgeo.org
Wed Mar 4 08:23:57 PST 2020
#3009: "Quit GRASS GIS" button only exits GUI
--------------------------+-------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.6.2
Component: wxGUI | Version: unspecified
Resolution: | Keywords: "quit grass gis button"
CPU: Unspecified | Platform: MacOSX
--------------------------+-------------------------------------
Comment (by nila):
I believe I have found the cause of this issue.
In gui/wxpython/lmgr/frame.py:2533-2536 `GMFrame.OnCloseWindowOrExit()`:
{{{
if ret != wx.ID_CANCEL:
self._closeWindow(event)
if ret == wx.ID_YES:
self._quitGRASS()
}}}
in `self._closeWindow` self (the GMFrame) will be destroyed and
`self._quitGRASS` will never be reached.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3009#comment:8>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list