-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Tuples can be "edited" in Variable Explorer but changes are discarded #5953
Comments
@CAM-Gerlach, do you want to take a look at this one? It should be an easy fix. |
@ccordoba12 Giggles nervously Sure, I can give it a look sometime over the next few days, if you think its easy enough (I'm visiting my family at the moment so it might not be right away). Should I base it against 3.x or master? Not sure if it would count as an enhancement or bug fix. |
|
Well I'm a silly goose, haha—I usually notice when a version tag is added, but somehow missed it this time. Thanks. |
@CAM-Gerlach you will probably want to have a look at the |
Description
In the Variable Explorer, if one opens a tuple and double clicks on one of the elements to edit, the field becomes editable and the user can enter, modify or delete text. However, upon hitting return/okay, the changes are (of course, as they should be) discarded. It would seem for consistency with tuples' immutability and to minimize new user confusion about their changes not being saved, that it would be best to make the field selectable (e.g. can select text like a text box as you can currently) but not editable. I presume there's a way to do that by selecting a different type or parameter for the Qt text field object?
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expected: When double clicked, text becomes selectable as if it were a text field, but cannot be changed/edited.
Actual: Field can be edited like any other text box, but changes of course discarded when clicked off of/"accepted"
Version and main components
Dependencies
The text was updated successfully, but these errors were encountered: