Hi,

On Wed, Oct 17, 2012 at 3:22 PM, Eckhard Jokisch <q...@eckhard-jokisch.de> 
wrote:
> Hi,
> today I discovered that obviously the SIGNAL
> QComboBox::currentIndexChanged(QString) is emitted twice when I select a
> different item. The first time QString contains the previous string and
> the second time it contains the new string.
>
> Can I rely on this previous/next  behaviour?

As Tony said, I'd suspect a bug in your code when you see this. Note
that this signal is also emitted when you change the selected item
programatically. If you're only interested in user-triggered changes,
you should use the activated signal

Andreas
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to