grass
grass copied to clipboard
wxGUI/history: Region settings management
This PR creates a new "Run" button and new options in the context menu of the History browser related to region settings management.
After clicking on the "Run" button, two options are shown:
- "Run command with current region" and "Run command with original region"
Also in the picture:
Based on the selected option, either the current computational region settings are used for launching the command or the original settings visible in the command info panel are used. The suggested implementation does not change the current region settings to the original one after the command execution.
The options for launching the command in those two different modes are also accessible through the context menu:
Besides that, at the very bottom, there is a new option that sets the current region based on the region from history.
Any comments and opinions on that are welcome. ( Yet built upon https://github.com/OSGeo/grass/pull/3365 and waits for its merging)