currentIndex fixed, when removing an item
This commit is contained in:
parent
7998fdfa43
commit
b0041c7030
@ -102,7 +102,7 @@ void QskStackBox::layoutItemRemoved( QskLayoutItem*, int index )
|
||||
if ( newIndex >= 0 )
|
||||
setCurrentIndex( index );
|
||||
}
|
||||
else if ( index > m_data->currentIndex )
|
||||
else if ( index < m_data->currentIndex )
|
||||
{
|
||||
m_data->currentIndex--;
|
||||
// currentIndexChanged ???
|
||||
|
Loading…
x
Reference in New Issue
Block a user