Summary: emit currentPackageChanged just once
ClosedPublic

Authored by vanini on Mar 8 2018, 2:24 PM.

Details

Summary

Before, when a package was selected, currentPackageChanged was emitted
once from currentChanged and once from selectionChanged for the same
package.
Now it is emitted when the selection changes. It is still emitted for an
already-current package, but we need that to get the correct buttons
shown in PackageWidget when we deselect all packages except one from a
multi-selection.

Test Plan

Add qDebug or breakpoint in PackageWidget::packageActivated.
Run and select packages in the list view.

Diff Detail

Repository
R550 Muon
Branch
selectionchanged
Lint
No Linters Available
Unit
No Unit Test Coverage
vanini requested review of this revision.Mar 8 2018, 2:24 PM
vanini created this revision.
sitter accepted this revision.Mar 13 2018, 11:15 AM
This revision is now accepted and ready to land.Mar 13 2018, 11:15 AM
This revision was automatically updated to reflect the committed changes.