mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Each time a QUndoCommand is pushed to a QUndoStack, the current focused widget lose focus. So each time user change a value in a widget (for exemple a QSpinBox) the widget lose focus and user will have to click again in the widget to gain focus and continue to edit. The workaround is to call the method focus of the current widget each time we push a undo command
11 KiB
11 KiB