Fix gradient toolbar
Alright, summary of the problems:
Issues:
- Empty first gradient (should always have text shown). empty first stop (when selected via canvas)
- Repeat disabled
- Reverse doesn't work
Solutions:
- Fixed by removing check for -1 in combobox value. Don't know why, but -1 is valid input, no reason to block. In terms of introducing more bugs, the custom combo box is only used in the gradients toolbar and in various unit trackers (which don't clear their options).
- Widget being enabled/disabled when different/child from the one that is initially disabled.
- A recent migration, appended the stops instead of prepending them. Adds them correctly.
- Also made the text of Repeat be disabled with the combobox.
Edited by Nathan Lee