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

1366523: Ensure that each quantity spinner has proper settings #1483

Merged
merged 1 commit into from Sep 19, 2016

Conversation

wottop
Copy link
Member

@wottop wottop commented Sep 8, 2016

If you don't set the parameters on each spinner, it will bleed over
from another one.

@cnsnyder cnsnyder assigned cnsnyder and unassigned cnsnyder Sep 9, 2016
@kahowell kahowell self-assigned this Sep 13, 2016
cell_renderer.set_property("adjustment",
ga_Gtk.Adjustment(lower=int(increment), upper=int(available), step_incr=int(increment)))
else:
self.quantity_renderer.set_property("adjustment",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self.quantity_renderer is cell_renderer. Please use cell_renderer in both places for consistency.

If you don't set the parameters on each spinner, it will bleed over
 from another one.
@kahowell
Copy link
Contributor

Looks great!

@kahowell kahowell merged commit e7825a8 into master Sep 19, 2016
@kahowell kahowell deleted the wottop/1366523 branch September 19, 2016 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants