The index argument of the activated signal shadows the index context property of the Repeater
Details
Details
- Reviewers
davidedmundson - Group Reviewers
Plasma - Commits
- R119:42fb1de1b3fa: [Containment Actions Configuration] Fix changing plugin
5.15
Changed mouse action plugin in dropdown, Apply button got enabled, could apply setting fine.
(That initialized bool seems to be a remnant from before we used activated but let's just not change that for stable and address this separately)
Diff Detail
Diff Detail
- Repository
- R119 Plasma Desktop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
desktoppackage/contents/configuration/ConfigurationContainmentActions.qml | ||
---|---|---|
98 | would just explicitly using "pluginsCombo.index" also work? |
desktoppackage/contents/configuration/ConfigurationContainmentActions.qml | ||
---|---|---|
98 | No, because index is a "magic" context property set by the Repeater, there is no "physical" property you can access on an element. |