scrollbars fixed
This commit is contained in:
parent
958b609306
commit
dcb02e9a72
@ -236,7 +236,7 @@ QskInputPanel::QskInputPanel( QQuickItem* parent ):
|
||||
m_data( new PrivateData )
|
||||
{
|
||||
setFlag( ItemHasContents );
|
||||
setAcceptedMouseButtons( Qt::MouseButtonMask );
|
||||
setAcceptedMouseButtons( Qt::LeftButton );
|
||||
|
||||
initSizePolicy( QskSizePolicy::Expanding, QskSizePolicy::Expanding );
|
||||
|
||||
|
@ -255,8 +255,12 @@ void QskListView::mousePressEvent( QMouseEvent* event )
|
||||
const int row = ( event->pos().y() - vr.top() + scrollPos().y() ) / rowHeight();
|
||||
if ( row >= 0 && row < rowCount() )
|
||||
setSelectedRow( row );
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Inherited::mousePressEvent( event );
|
||||
}
|
||||
|
||||
void QskListView::mouseReleaseEvent( QMouseEvent* event )
|
||||
|
Loading…
x
Reference in New Issue
Block a user