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

Update column sizes if all tests are shown

Since we no longer show the passed tests initially in automatic mode,
we need to update column sizes when the user wants to see all tests.

GnuPG-bug-id: 6101
parent 6ca6a3a2
......@@ -280,8 +280,12 @@ public:
connect(ui.resultsTV->selectionModel(), &QItemSelectionModel::selectionChanged, q, [this]() {
slotSelectionChanged();
});
connect(ui.showAllCB, &QAbstractButton::toggled,
&proxy, &Proxy::setShowAll);
connect(ui.showAllCB, &QAbstractButton::toggled, q, [this](bool checked) {
proxy.setShowAll(checked);
if (checked) {
updateColumnSizes();
}
});
proxy.setShowAll(ui.showAllCB->isChecked());
ui.resultsTV->setFocus();
......
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