Skip to content
Commit 4f8476c1 authored by Carlo Vanini's avatar Carlo Vanini
Browse files

Summary: emit currentPackageChanged just once

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.

Reviewers: sitter

Reviewed By: sitter

Differential Revision: https://phabricator.kde.org/D11152
parent f391c33c
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