[GRASS-git] [OSGeo/grass] 69ca0a: init: Start in last used mapset with --gui like --...
Vaclav Petras
noreply at github.com
Wed Aug 19 05:33:39 PDT 2020
Branch: refs/heads/master
Home: https://github.com/OSGeo/grass
Commit: 69ca0a9f44be5d67d5d794cf844e99cd44c78693
https://github.com/OSGeo/grass/commit/69ca0a9f44be5d67d5d794cf844e99cd44c78693
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2020-08-19 (Wed, 19 Aug 2020)
Changed paths:
M lib/init/grass.py
Log Message:
-----------
init: Start in last used mapset with --gui like --text (#767)
When the grass executable is started with --text, it uses the last used mapset.
Now also grass --gui behaves the same way and starts the main GUI without using the startup
window to ask about the mapset.
The checks for starting in mapset are different because --text assumes it is interactive
and can just fail and give optins to the user while --gui needs to provide a GUI way.
As a result, --gui shows the statup window when the mapset is not usable for starting
(both use the ask-for-permission paradigm).
More information about the grass-commit
mailing list