Commit 5ef5ad2f authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

In automatic mode, do not show passed tests initially

This makes it much easier for the users to take note of the failed or
skipped tests, in particular, users using a screen reader.

GnuPG-bug-id: 6101
parent 36c23344
......@@ -256,6 +256,7 @@ public:
});
connect(ui.showAllCB, &QAbstractButton::toggled,
&proxy, &Proxy::setShowAll);
proxy.setShowAll(ui.showAllCB->isChecked());
}
private:
......@@ -479,6 +480,7 @@ bool SelfTestDialog::runAtStartUp() const
void SelfTestDialog::setAutomaticMode(bool automatic)
{
d->ui.showAllCB->setChecked(!automatic);
d->ui.buttonBox->button(QDialogButtonBox::Ok)->setVisible(automatic);
d->ui.buttonBox->button(QDialogButtonBox::Cancel)->setVisible(automatic);
d->ui.buttonBox->button(QDialogButtonBox::Close)->setVisible(!automatic);
......
Supports Markdown
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