mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 18:35:37 +00:00
ThumbnailListPrivate does not handle keypresses
So don't give it the focus while using tab to change focus
This commit is contained in:
parent
ed052f4fa1
commit
8df96e9e64
|
@ -216,8 +216,8 @@ ThumbnailList::ThumbnailList( QWidget *parent, Okular::Document *document )
|
|||
viewport()->setPalette( viewportPal );
|
||||
|
||||
setWidget( d );
|
||||
// widget setup: can be focused by tab and mouse click (not wheel)
|
||||
widget()->setFocusPolicy( Qt::StrongFocus );
|
||||
// widget setup: can be focused by mouse click (not wheel nor tab)
|
||||
widget()->setFocusPolicy( Qt::ClickFocus );
|
||||
widget()->show();
|
||||
QPalette widgetPal = widget()->palette();
|
||||
widgetPal.setColor( widget()->backgroundRole(), pal.color( QPalette::Base ) );
|
||||
|
|
Loading…
Reference in a new issue