bloguetronica / cp2130-conf

CP2130 Configurator (cp2130-conf) is an application that can be used to configure CP2130 devices, including VID, PID, as well as other descriptors. Most importantly, the application allows you to configure pin functions and states.
GNU General Public License v3.0
1 stars 1 forks source link

Cursor position is not preserved when editing any boxes that accept hexadecimal values #15

Closed samuelfmlourenco closed 2 years ago

samuelfmlourenco commented 2 years ago

When editing a single character at the middle of the hexadecimal value, on any box that accepts those, the cursor jumps to the end. This happens because QLineEdit::setText() doesn't preserve the previous cursor position when setting the text. This currently affects all "Vendor ID" and "Product ID" boxes, as well as other hexadecimal input boxes, because QLineEdit::setText() is used on them.

samuelfmlourenco commented 2 years ago

Fixed in version 1.4.