radio box: Don't reset the selected index when pressing it

We need this to style the control correctly
This commit is contained in:
Peter Hartmann 2023-05-05 17:14:14 +02:00
parent 2db83592c2
commit 78e1ff629b
1 changed files with 0 additions and 1 deletions

View File

@ -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();