Skip to content
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

Make editing of spinboxes more sensible #7

Closed
kallaballa opened this issue Oct 4, 2014 · 4 comments
Closed

Make editing of spinboxes more sensible #7

kallaballa opened this issue Oct 4, 2014 · 4 comments

Comments

@kallaballa
Copy link
Owner

Doing a single edit (one key stroke) in a qspinbox will emit valueChange and the component loses the focus.
Instead it should wait for either the return key being hit or for lost focus before commiting the change.

@kintel
Copy link
Contributor

kintel commented Oct 10, 2014

This bug is caused by temporarily disabling GUI elements in ObjectPropertyWidget::disable():
https://github.com/Metalab/ctrl-cut/blob/master/src/gui/ObjectPropertyWidget.cpp#L235

disabling the elements causes them to lose focus.

@kallaballa
Copy link
Owner Author

but disable is not called in the pertaining slots. e.g. https://github.com/Metalab/ctrl-cut/blob/master/src/gui/ObjectPropertyWidget.cpp#L256

@kintel
Copy link
Contributor

kintel commented Oct 10, 2014

@kallaballa
Copy link
Owner Author

you were right. fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants