-
-
Notifications
You must be signed in to change notification settings - Fork 323
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
gui: Add Copy command feature on right-click to GUI History panel #4927
Conversation
@petrasovaa is there a way that exists to paste back and use a command like that? Does a json representation bring value? (In QGIS you can copy and paste the command run to populate the box again, using a json format). |
Not sure I understand, something like the --ui ? |
For the history as json part, I assume it's available as this pending PR fixes when a comment is multiple lines #4216. |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@echoix, thanks for updating my pull request with the required change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to let the chance to get some responses, or for others to take a look at it if they objected. But I'm pretty sure it's cortect as is, and I spot checked a couple of wx calls to make sure their usage was fine, and "TheClipboard" seems fine and similar to how it's used elsewhere.
So, let's continue with it, it was well described in the PR description.
Thanks for the quick feedback and for merging this! |
Description:
Provide
Copy
command feature on right-click for commands in the GUI History panel.Motivation and context:
For reporting bugs it's helpful to copy particular commands from history. Presently, there is just the
Remove
command.How has this been tested?
Compiled and executed the Grass application locally. Can observe the new
Copy
command in the History Panel on right-clicking a command.Screenshots (if appropriate)
Types of changes
functionality to not work as before)
Checklist
pre-defined prefixes
of this project.
Fixes
#4385