Commit 06b03e9b authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Take the scroll area out of the tab order

Set the focus policy of the scroll area to NoFocus. I think it makes no
sense to be able to give keyboard focus to the scroll area. On the
contrary, it was really confusing because neither the screen reader nor
the display gave any hint about which part of the GUI now has focus.
Took me some time and some additional debug output to figure this out.

GnuPG-bug-id: 5535
parent 1ee45a58
......@@ -155,6 +155,7 @@ SignEncryptWidget::SignEncryptWidget(QWidget *parent, bool sigEncExclusive)
recipientScroll->setWidgetResizable(true);
recipientScroll->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContentsOnFirstShow);
recipientScroll->setFrameStyle(QFrame::NoFrame);
recipientScroll->setFocusPolicy(Qt::NoFocus);
mRecpLayout->setContentsMargins(0, 0, 0, 0);
encBoxLay->addWidget(recipientScroll, 1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment