never using focus scopes without also being a tab fence ( currently only popups ). Otherwise navigation over the focus tab chain is broken.

This commit is contained in:
Uwe Rathmann 2017-11-03 11:47:21 +01:00
parent f2f2724ea5
commit a9d0628dcd
2 changed files with 0 additions and 6 deletions

View File

@ -34,11 +34,6 @@ QskTabBar::QskTabBar( Qt::Orientation orientation, QQuickItem* parent ):
Inherited( parent ), Inherited( parent ),
m_data( new PrivateData() ) m_data( new PrivateData() )
{ {
#if 0
setFlag( QQuickItem::ItemHasContents, false );
setFlag( QQuickItem::ItemIsFocusScope );
#endif
m_data->layoutBox = new QskLinearBox( orientation, this ); m_data->layoutBox = new QskLinearBox( orientation, this );
m_data->layoutBox->setObjectName( QStringLiteral( "QskTabBarLayoutBox" ) ); m_data->layoutBox->setObjectName( QStringLiteral( "QskTabBarLayoutBox" ) );
m_data->layoutBox->setSpacing( 0 ); m_data->layoutBox->setSpacing( 0 );

View File

@ -41,7 +41,6 @@ QskTabView::QskTabView( Qt::Orientation orientation, QQuickItem* parent ):
Inherited( parent ), Inherited( parent ),
m_data( new PrivateData() ) m_data( new PrivateData() )
{ {
setFlag( ItemIsFocusScope );
setPolishOnResize( true ); setPolishOnResize( true );
m_data->tabBar = new QskTabBar( qskTransposed( orientation ), this ); m_data->tabBar = new QskTabBar( qskTransposed( orientation ), this );