Summary: emit currentPackageChanged just once

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



Before, when a package was selected, currentPackageChanged was emitted
once from currentChanged and once from selectionChanged for the same
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

Test Plan

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

Diff Detail

R550 Muon
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
vanini requested review of this revision.Thu, Mar 8, 2:24 PM
vanini created this revision.
sitter accepted this revision.Tue, Mar 13, 11:15 AM
This revision is now accepted and ready to land.Tue, Mar 13, 11:15 AM
This revision was automatically updated to reflect the committed changes.