Commit 55dbbdb9 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Show a radiobutton when we are showing an exclusive control

Summary: CCBUG: 391144

Test Plan: MenuItem { autoExclusive: true } shows radio buttons instead of check boxes

Reviewers: mart

Reviewed By: mart

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent bbbda5ab
......@@ -25,7 +25,7 @@ import org.kde.qqc2desktopstyle.private 1.0 as StylePrivate
StylePrivate.StyleItem {
id: styleitem
elementType: "checkbox"
elementType: control.autoExclusive ? "radiobutton" : "checkbox"
sunken: control.pressed
on: control.checked || control.pressed
hover: control.hovered
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