radio box: Don't reset the selected index when pressing it
We need this to style the control correctly
This commit is contained in:
parent
b9fa8b3b34
commit
d61780971c
|
@ -201,7 +201,6 @@ void QskRadioBox::mousePressEvent( QMouseEvent* event )
|
|||
auto indexAtPosition = indexAt( qskMousePosition( event ) );
|
||||
|
||||
m_data->pressedIndex = indexAtPosition;
|
||||
m_data->selectedIndex = -1;
|
||||
|
||||
setFocusedIndex( indexAtPosition );
|
||||
update();
|
||||
|
|
Loading…
Reference in New Issue