qcombobox does not update when currentIndexChanged is connected
<p>I have a QComboBox on my gui that I use to select a string from a given set of options. </p>

<p>When I click on it the dropdown appears, I make my choice and then the dropdown closes again, but it's still the default value that is displayed and not the one that I selected. </p>

<p>The combo box is connected to a slot, so I know that the choice was made correctly. Only when I move the mouse over the combo it finally gets updated and shows the last choice made.</p>

<pre><code>connect( _uiPtr-&gt;CB_PlotType, SIGNAL(currentIndexChanged(int)), this, SLOT(slotCurrPlotTypeChanged(int)) );
</code></pre>

<p>If  I comment this connection above, then the combo box is updated with new selection instantaneously.</p>

<p>The following link also describes the same problem but no solution:</p>

<p><a href="http://www.qtcentre.org/threads/18909-QComboBox-does-not-update" rel="nofollow">http://www.qtcentre.org/threads/18909-QComboBox-does-not-update</a></p>