doorstop-dev / doorstop

Requirements management using version control.
https://doorstop.readthedocs.io
Other
464 stars 127 forks source link

GUI fails editing values of the extended attributes #528

Open jmvillalba opened 2 years ago

jmvillalba commented 2 years ago

Hi!

I use Doorstop and doorstop GUI. It's a basic tool but useful (GUI). But I'm having problems with the values of the extended attributes when I edit the values trough the GUI.

I've resolve the problem, two lines code. And I would like to submit the changes, but I've dudes about the correct process.

Could you help me?

jacebrowning commented 2 years ago

Maybe this is helpful? https://opensource.com/article/19/7/create-pull-request-github

jacebrowning commented 2 years ago

You could also paste the updated code here for someone else to make the change.

jmvillalba commented 1 year ago

Hi @jacebrowning and @neerdoc !

Sorry for the delay.

I will paste the code in the milestone v2.4 (v3.1)

jmvillalba commented 1 year ago

in application.py At line 626 at function def displayextended(self, *):

I've change this line self.text_extendedvalue.replace('1.0', tk.END, self.item.get(name, "")) to this value = self.item.get(name, "") self.text_extendedvalue.replace('1.0', tk.END, value) self.stringvar_extendedvalue.set(value)

with this change I get that when navigating between requirements with extended attributes, sometimes these attributes are modified with the values of the previous requirement.