nette/nette — pull request #632 by smasty (2012-04-20 16:35:03+00:00)
Title: SelectBox: Respect prompt when setting items.

Currently SelectBox ignores prompt if it was set before setting items.
This commit ensures that prompt is no longer ignored. (See the [forum thread](http://forum.nette.org/cs/10704-setprompt-volany-pred-setitems-nefunguje))

However, it's not entirely clear whether this is a bug or a feature.

- On one hand, it seems logical to leave the prompt as set.
- On the other hand, it also seems logical to "reset" the prompt when new set of items is added.